[v2.1-alpha] Critical error thrown with duplicate structure entries

Report problems with documented functionality
wilkster
Posts: 12
Joined: 15 Jul 2020, 09:43

[v2.1-alpha] Critical error thrown with duplicate structure entries

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.

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 60 guests