Skip to content

Commit 98d01b7

Browse files
authored
Acknowledge Expr as a possible type for :struct_type lowered AST (#33868)
[ci skip]
1 parent 917c706 commit 98d01b7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/devdocs/ast.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -356,20 +356,20 @@ These symbols appear in the `head` field of [`Expr`](@ref)s in lowered form.
356356

357357
* `args[2]`
358358

359-
A `call` expression that creates `SimpleVector` specifying its parameters
359+
A `call` expression that creates a `SimpleVector` specifying its parameters
360360

361361
* `args[3]`
362362

363-
A `call` expression that creates `SimpleVector` specifying its fieldnames
363+
A `call` expression that creates a `SimpleVector` specifying its fieldnames
364364

365365
* `args[4]`
366366

367-
A `Symbol` or `GlobalRef` specifying the supertype (e.g., `:Integer` or
368-
`GlobalRef(Core, :Any)`)
367+
A `Symbol`, `GlobalRef`, or `Expr` specifying the supertype (e.g., `:Integer`,
368+
`GlobalRef(Core, :Any)`, or `:(Core.apply_type(AbstractArray, T, N))`)
369369

370370
* `args[5]`
371371

372-
A `call` expression that creates `SimpleVector` specifying its fieldtypes
372+
A `call` expression that creates a `SimpleVector` specifying its fieldtypes
373373

374374
* `args[6]`
375375

0 commit comments

Comments
 (0)