Closed
Description
When ComplexType reification is used with the ternary operator, spaces and line breaks are messed up.
Input file
function main() {
final type = true ? macro:String : macro:Int;
}
Broken output
function main() {
final type = true ? macro : String
:macro:Int;
}
Expected output
function main() {
final type = true ? macro:String : macro:Int;
}
(not very sure about the spaces in the complex type, but at least I think the whole thing should be on the same line)