mirror of
https://github.com/irmen/prog8.git
synced 2025-07-25 11:24:15 +00:00
some tweaks and todos
This commit is contained in:
@@ -222,7 +222,7 @@ class StMemVar(name: String,
|
||||
init{
|
||||
require(dt!=DataType.BOOL && dt!=DataType.ARRAY_BOOL)
|
||||
if(dt in ArrayDatatypes || dt == DataType.STR)
|
||||
require(length!=null) { "memory mapped array or string must have known length" }
|
||||
requireNotNull(length)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user