Updated other test cases and examples to match
This commit is contained in:
@@ -6,7 +6,7 @@ func TestEnum (test *testing.T) {
|
||||
checkTree ("../tests/parser/enum",
|
||||
`:arf
|
||||
---
|
||||
enum ro AffrontToGod:{Int 4}
|
||||
enum ro AffrontToGod:Int:4
|
||||
bird0
|
||||
28394
|
||||
9328
|
||||
|
||||
@@ -25,7 +25,7 @@ func ro cBasicPhrases
|
||||
[fn [gn 329 983 57] 123]
|
||||
func ro dArgumentTypes
|
||||
---
|
||||
[bird tree butterfly.wing "hello world" grass:{Int:mut 8}]
|
||||
[bird tree butterfly.wing "hello world" grass:Int:8:mut]
|
||||
func ro eMath
|
||||
> x:Int
|
||||
> y:Int
|
||||
@@ -103,7 +103,7 @@ func ro hSetPhrase
|
||||
---
|
||||
[= x:Int 3]
|
||||
[= y:{Int} [loc x]]
|
||||
[= z:{Int 8}]
|
||||
[= z:Int:8]
|
||||
398
|
||||
9
|
||||
2309
|
||||
|
||||
@@ -13,7 +13,7 @@ objt ro BitFields:Obj
|
||||
ro that:Int & 1
|
||||
ro this:Int & 24 298
|
||||
objt ro ComplexInit:Obj
|
||||
ro whatever:{Int 3}
|
||||
ro whatever:Int:3
|
||||
230984
|
||||
849
|
||||
394580
|
||||
|
||||
@@ -9,7 +9,7 @@ func TestType (test *testing.T) {
|
||||
type ro Basic:Int
|
||||
type ro BasicInit:Int 6
|
||||
type ro IntArray:{Int ..}
|
||||
type ro IntArrayInit:{Int 3}
|
||||
type ro IntArrayInit:Int:3
|
||||
3298
|
||||
923
|
||||
92
|
||||
|
||||
Reference in New Issue
Block a user