[v2.1-alpha] Critical error thrown with duplicate structure entries
Posted: 05 Feb 2024, 11:34
If two entries in a Class structure have the same name (perhaps due to copy/paste error), and they reference another structure then a Critical Error is thrown when the structure is instantiated.
Code: Select all
Class stPOINT {
x: i32
y: i32
}
Class DupEntry {
X: u32
Y: u32
PairA: stPOINT
PairA: stPOINT
}
myStructure := DupEntry() ; Critical Error: Invalid memory read/write.