nimpretty
generates wrong code with parenthesized expressions
#18498
Labels
nimpretty
generates wrong code with parenthesized expressions
#18498
I really can't explain what's going on, just see the examples
Example 1
no changes, everything is OK
Example 2
things getting wierd by parentheses
notice: the code still compiles
Example 3
just a proc def top of the par expression
error on compile:
Example 4
2 var defs, one with pars:
notice: compiles successfully
Example 5
2 var defs with proc def top of them one with pars:
notice: compile error same as Example 3
Additional Information
The text was updated successfully, but these errors were encountered: