view
ing or edit
ing a function with a long string concatenation expression produces unparseable code
#1740
Labels
view
ing or edit
ing a function with a long string concatenation expression produces unparseable code
#1740
If I write this function:
It will parse and typecheck just fine. If I
add
it to my codebase, thenview
it back out,ucm
shows it to me like this:The
++
operators have been moved to the beginning of the lines. I get the exact same representation if Iedit
it back into my scratch file, but then if I simply save my scratch file without any further changes to the function, I get a parsing error:It looks like beginning the lines with the
++
operators confusesucm
, which raises the more general issue thatucm
gave me back a code representation of a function that was not immediately parseable.This may happen to many (every?) operators in long lines. I've tried this with
&&
:and found a similar issue when
edit
ing it back out:The text was updated successfully, but these errors were encountered: