Add parser test for union type
This commit is contained in:
parent
489f20972b
commit
acf254a1f3
@ -8,6 +8,7 @@ testString (test,
|
||||
`- BasicInt: Int
|
||||
- Structure: (. x:Int y:Int)
|
||||
- Interface: (~ [aMethod x:Int]:*U8 [otherMethod arg:5:Int]:*U8)
|
||||
- Union: (| Int F64 *:U8 (. x:Int y:Int))
|
||||
- Array: 16:16:16:Int
|
||||
- StructArray: 31:24:340920:(. x:Int y:Int)
|
||||
- String: *:U8`,
|
||||
@ -20,6 +21,9 @@ Structure: (.
|
||||
Interface: (~
|
||||
[aMethod x:Int]:*U8
|
||||
[otherMethod arg:5:Int]:*U8)
|
||||
- Union: (|
|
||||
Int F64 *:U8
|
||||
(. x:Int y:Int))
|
||||
Array: 16:16:16:Int
|
||||
StructArray: 31:24:340920:(.
|
||||
x:Int
|
||||
|
Loading…
Reference in New Issue
Block a user