var list = new TDynamicArray<String>(100);
list.WriteAt(0, 'Hello');
list.WriteAt(1, 'World');
list.Finalize();
TDynamicArray is an own class which is in a namespace of “mDynamicArray” which i include before!
When i compile, i get: “(E0) Internal error: Unknown type ID: f”
Honestly, i dont have another much bigger testcase^^but it happens instantly, when i just declare my dynamicarray-variable, without doing anything spectacular
And when its forbidden to call Finalize() directly, why is it public then?
unit issuemoretest;
interface
type
TENum = public enum(A, B, C, D);
TENumArray = array[TEnum] of int32;
implementation
begin
var x: TEnumArray;
x[TEnum.B] := 15;
var Even: array[0..100] of Object; //doesnt work!
end.
If you do get a case where this shows, feel free to zip up the project and sned it to me. I’ll keep it private but it makes sure i’ll be able to reproduce the issue. (you can click my name here and send a private message to reach me privately)
Honestly, i forgot that you answerd for the Dynamicarray issue^^
Yes, i send you my project, but it doesnt work as well not for the TArray (the same aas DynamicArray, in that case, that it is own implemented, but differs ofc in the implementation)