Skip to content

Commit c50e1fe

Browse files
committed
Add note about outer in comprehensions
1 parent a07010c commit c50e1fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,8 @@ useful, even for DSLs:
453453
* `abstract type A < B end` and other subtype comparisons are allowed, but
454454
only `A <: B` makes sense.
455455
* `x where {S T}` produces `(where x (bracescat (row S T)))`. This seems pretty weird!
456+
* `[x for outer x in xs]` parses, but `outer` makes no real sense in this
457+
context (and using this form is a lowering error)
456458

457459
### `kw` and `=` inconsistencies
458460

0 commit comments

Comments
 (0)