Files
releases/format
Gianluca Oldani 917dfc445f fmt:fix fmt panic in comprehension with comments
Priot to this change, the `fmt` command panicked when
rego files processed contained a comprehension written
on multiple lines with comments in these lines. An
example of such comprehension is presented in #5798.

After this change, comprehensions on multiple lines are
not moved in a single line, in order to correcly handle
comments, similarly to what has been already done in #3864.

Fixes: #5798

Signed-off-by: Gianluca Oldani <oldanigianluca@gmail.com>
2023-05-30 13:37:27 -07:00
..