OpenClonk Bugtracker - OpenClonk
View Issue Details
0001840OpenClonkEngine - C4Scriptpublic2016-11-01 14:302016-11-13 11:16
Assigned ToIsilkor 
PrioritynormalSeverityminorReproducibilityhave not tried
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001840: Aul: Codegen error inside loop results in assertion failure
DescriptionAn error during loop codegen results in an assertion failure because the current stack height is obviously not the expected value.
Additional Informationstack_height ==
TagsNo tags attached.
Attached Files

2016-11-13 10:27   
Hi! There's been a check-in that references this bug. For more information you can visit the repository browser at this address:

Changeset eda6cc9 by Nicolas Hake <>
Aul: Gracefully handle errors in codegen (0001840)

By continuing to generate bytecode even after an error is found, we're
able to find more syntax errors and will also be able to keep the value
stack at the expected height.

Issue History
2016-11-01 14:30IsilkorNew Issue
2016-11-01 14:30IsilkorAssigned To => Isilkor
2016-11-01 14:30IsilkorStatusnew => assigned
2016-11-13 10:27occNote Added: 0005493
2016-11-13 11:16IsilkorStatusassigned => resolved
2016-11-13 11:16IsilkorResolutionopen => fixed