objt-section #5

Merged
sashakoshka merged 14 commits from objt-section into main 2022-08-20 13:47:45 -06:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit c847d2187d - Show all commits

View File

@ -123,7 +123,7 @@ type ro IntArrayInit:{Int 3}
`, test) `, test)
} }
func TestType (test *testing.T) { func TestObjt (test *testing.T) {
checkTree ("../tests/parser/objt", checkTree ("../tests/parser/objt",
`:arf `:arf
--- ---

View File

@ -1,14 +1,14 @@
:arf :arf
--- ---
type ro Basic:Obj objt ro Basic:Obj
ro that:Basic ro that:Basic
ro this:Basic ro this:Basic
type ro Init:Obj objt ro Init:Obj
ro that:String "hello world" ro that:String "hello world"
ro this:Int 23 ro this:Int 23
type ro ComplexInit:Obj objt ro ComplexInit:Obj
ro whatever:{Int 3} ro whatever:{Int 3}
230984 230984
849 394580 849 394580