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
fix: add support for comprehensions with conditionals
Comprehension support works by parsing the underlying generators, and
generators with `if` conditions have `filter` as their `Expr` form's
second argument. This previously wasn't supported, as the generator
parsing code expected the `for` iteration's `=` to be the second arg
instead.
This change adds support for the case of generators with filters, and
adds relevant tests.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# News
2
2
3
+
## v1.0.4 - 2025-08-16
4
+
5
+
- Support comprehensions with conditionals, e.g., `@resumable function f1(); [i for i in 1:10 if i<5]; end` which previously led to "Illegal expression" errors.
6
+
3
7
## v1.0.3 - 2025-03-24
4
8
5
9
- Internal changes to `fsmi_generator` to support julia 1.12
0 commit comments