Skip to content

Commit

Permalink
Acknowledge Expr as a possible type for :struct_type lowered AST (#…
Browse files Browse the repository at this point in the history
…33868)

[ci skip]
  • Loading branch information
timholy authored and KristofferC committed Apr 11, 2020
1 parent 91523d8 commit 8769d15
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions doc/src/devdocs/ast.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,20 +356,20 @@ These symbols appear in the `head` field of [`Expr`](@ref)s in lowered form.

* `args[2]`

A `call` expression that creates `SimpleVector` specifying its parameters
A `call` expression that creates a `SimpleVector` specifying its parameters

* `args[3]`

A `call` expression that creates `SimpleVector` specifying its fieldnames
A `call` expression that creates a `SimpleVector` specifying its fieldnames

* `args[4]`

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

* `args[5]`

A `call` expression that creates `SimpleVector` specifying its fieldtypes
A `call` expression that creates a `SimpleVector` specifying its fieldtypes

* `args[6]`

Expand Down

0 comments on commit 8769d15

Please sign in to comment.