[BUG] Disallow decimals on array decl and indices

[FEAT] Parser checks index out of bounds errors
This commit is contained in:
2021-05-04 16:29:37 +02:00
parent 28b059c57e
commit 7297215aeb
3 changed files with 11 additions and 37 deletions

View File

@@ -11,4 +11,4 @@ struct triangle
end
var peiv as array of 2 triangle
const perico as number = 4-peiv[0].a.x
const perico as number = 4-peiv[1].a.x