Type of the array index not type-checked in reassignment LHS #5922
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
The following script compiles without any errors. The
array["test"]
line will emitInternal compiler error: Attempt to load from non-copy type.
but only if thepoke(array)
call is there. If that call is removed, even thearray["test"]
will not produce any error.The text was updated successfully, but these errors were encountered: