mirror of
https://github.com/irmen/prog8.git
synced 2025-07-03 01:23:55 +00:00
todos
This commit is contained in:
@ -31,7 +31,7 @@ internal class AstOnetimeTransforms(private val program: Program, private val op
|
||||
// note: The CodeDesugarer already does something similar, but that is meant ONLY to take
|
||||
// into account the case where the index value is a word type.
|
||||
// The replacement here is to fix missing cases in the 6502 codegen.
|
||||
// TODO make the 6502 codegen better so this work around can be removed
|
||||
// TODO make the 6502 codegen better so this workaround can be removed
|
||||
val arrayVar = arrayIndexedExpression.arrayvar.targetVarDecl(program)
|
||||
if(arrayVar!=null && arrayVar.datatype == DataType.UWORD) {
|
||||
if(parent is AssignTarget) {
|
||||
|
Reference in New Issue
Block a user