Crystal: Formatter eat my code in `x.try &.[] 123`

Created on 5 Apr 2019  路  1Comment  路  Source: crystal-lang/crystal

x.try &.[] 123

after format,

x.try &.[]

123 simply lost.
It only happens in the latest 0.27.2 version, if I remember correctly :-)

bug topicformatter

Most helpful comment

Just in case you didn't know - you can do x.try &.[123]
Of course the bug is still bug.

>All comments

Just in case you didn't know - you can do x.try &.[123]
Of course the bug is still bug.

Was this page helpful?
0 / 5 - 0 ratings