Parse union types of arrays and objects (#7213)

Signed-off-by: Nick Cameron <nrc@ncameron.org>
This commit is contained in:
Nick Cameron
2025-05-28 07:42:42 +12:00
committed by GitHub
parent 8f4327ab6b
commit dba0173cc3
4 changed files with 22 additions and 17 deletions

View File

@ -3320,7 +3320,7 @@ pub enum Type {
},
// Union/enum types
Union {
tys: NodeList<PrimitiveType>,
tys: NodeList<Type>,
},
// An object type.
Object {