aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/ui/loop_cycle_empty.stderr (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix parsing arraysLibravatar René Kijewski2023-07-311-4/+3
| | | | | | | | | | | | | | | | This change * allows using empty arrays `[]` in expessions, * adds a cut when the leading `[` was encountered, and * fixes the interaction between arrays and boolean OR. IMO the restriction that you couldn't use empty arrays is not needed. The missing cut made error messages slictly worse if you forget to add the closing `]`. Filter expressions must not have white spaces before the pipe `|`. The white space is used to tell a filter expressions, and `std::ops::Or` apart.
* Fix parsing callsLibravatar René Kijewski2023-07-311-2/+2
| | | | | | | This change: * adds a cut when the leading `(` was encountered, and * fixed the interaction between call expressions and boolean OR.
* Remove `panic!()` in `loop.cycle([])`Libravatar René Kijewski2022-01-311-0/+8