Describe the bug
At some point it should probably switch to "regular mode" instead of trying to keep it in one line?
Input file
class Main {
static function main() {
var msg = if( tinf.module != inf.module ) "module "+inf.module+" should be "+tinf.module;
else if( tinf.doc != inf.doc ) "documentation is different";
else if( tinf.isPrivate != inf.isPrivate ) "private flag is different";
else if( !sameType ) "type kind is different";
else "could not merge definition";
}
}
Broken output
class Main {
static function main() {
var msg = if (tinf.module != inf.module) "module " + inf.module + " should be " + tinf.module; else if (tinf.doc != inf.doc)
"documentation is different"; else if (tinf.isPrivate != inf.isPrivate) "private flag is different"; else if (!sameType) "type kind is different"; else
"could not merge definition";
}
}
Describe the bug
At some point it should probably switch to "regular mode" instead of trying to keep it in one line?
Input file
Broken output