mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
fix compiler crash when calling a non-subroutine
This commit is contained in:
parent
b27cbfac5e
commit
89f46222d9
@ -144,8 +144,7 @@ class TypecastsAdder(val program: Program, val errors: ErrorReporter) : AstWalke
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
null -> { }
|
else -> { }
|
||||||
else -> throw FatalAstException("call to something weird $sub ${call.target}")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return modifications
|
return modifications
|
||||||
|
Loading…
Reference in New Issue
Block a user