mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 03:54:27 +00:00
Merge branch 'master' into c128target
This commit is contained in:
commit
a123c64f59
@ -367,7 +367,7 @@ class StatementOptimizer(private val program: Program,
|
||||
|
||||
val targetIDt = assignment.target.inferType(program)
|
||||
if(!targetIDt.isKnown)
|
||||
throw FatalAstException("can't infer type of assignment target")
|
||||
return noModifications
|
||||
|
||||
// optimize binary expressions a bit
|
||||
val bexpr=assignment.value as? BinaryExpression
|
||||
|
Loading…
Reference in New Issue
Block a user