Rewrote parser test case input files
This commit is contained in:
@@ -1,35 +1,36 @@
|
||||
:arf
|
||||
---
|
||||
type ro aBasic:Obj:(
|
||||
.ro that:Int
|
||||
.ro this:Int)
|
||||
type ro aBasic:Obj
|
||||
ro that:Int
|
||||
ro this:Int
|
||||
|
||||
type ro bBitFields:Obj:(
|
||||
.ro that:Int & 1
|
||||
.ro this:Int:<298> & 24)
|
||||
type ro bBitFields:Obj
|
||||
ro that:Int & 1
|
||||
ro this:Int 298 & 24
|
||||
|
||||
type ro cInit:Obj:(
|
||||
.ro that:String:<"hello world">
|
||||
.ro this:Int:<23>)
|
||||
ro that:String "hello world"
|
||||
ro this:Int 23
|
||||
|
||||
type ro dInitInherit:aBasic:(
|
||||
.that:<9384>
|
||||
.this:<389>)
|
||||
# the semantic analyzer should let these sections restrict the permissions of
|
||||
# inherited members, but it should not let the sections lessen the permissions.
|
||||
type ro dInitInherit:aBasic
|
||||
ro that 9384
|
||||
ro this 389
|
||||
|
||||
type ro eInitAndDefine:aBasic:(
|
||||
.this:<389>
|
||||
.ro these:aBasic:(
|
||||
.ro born:Int:<4>
|
||||
.ro in:Int
|
||||
.ro the:Int:3:<9348 92384 92834>
|
||||
.this:<98>)
|
||||
.that:<9384>)
|
||||
type ro eInitAndDefine:aBasic
|
||||
ro this 389
|
||||
ro that 9384
|
||||
ro born:Int 4
|
||||
ro in:Int
|
||||
ro the:Int:3 (9348 92384 92834)
|
||||
ro walls:String "live in the walls, die in the walls."
|
||||
|
||||
type ro fBasic:Int
|
||||
|
||||
type ro gBasicInit:Int:<6>
|
||||
type ro gBasicInit:Int 6
|
||||
|
||||
type ro hIntArray:{Int ..}
|
||||
|
||||
type ro iIntArrayInit:Int:3:
|
||||
<3298 923 92>
|
||||
type ro iIntArrayInit:Int:3
|
||||
(3298 923 92)
|
||||
|
||||
Reference in New Issue
Block a user