You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will no longer be allowed (and the user will be notified!)
It's still broken, but after I fix it, you should be able to write:
let (_foo, _bar, _baz) =
for (i, (foo, bar, baz)): (
// dslx-fmt::off
u32, (FooType[NUM_ELEMS][NUM_BLOCKS], BarType[NUM_ELEMS][NUM_BLOCKS],
bool[NUM_ELEMS][NUM_BLOCKS])
// dslx-fmt::on
) in range(u32:0, 8) {
// this is another cool comment
(foo, bar, baz)
}((zero!<FooType[8][2]>(), zero!<BarType[8][2]>(), all_ones!<bool[8][2]>()));
Describe the bug
I tried to disable formatting of a long for loop accumulator type annotation, due to #1685 making the loop hard to read.
It deleted my entire proc.
To Reproduce
Run the following through the formatter:
Output:
Expected behavior
Source outside the disabled formatting section should be untouched. All the code should still be present.
The text was updated successfully, but these errors were encountered: