"test:main" { let x: nint = val ent "foo" "bar"; let y: bool = val sco "foo" "bar"; rm %x; rm %y; set %x, ent @s[] "foo"; set %y, sco @s[] "bar"; set %x, stg "foo:bar" "bar"; set %x, idx 6 stg "foo:bar" "bar"; set %x, prop "name" idx 5 stg "foo:bar" "foo"; let z: nint = val idx 7 %x; let z1: {} = val stg "foo:bar" this; # Casts let g: score = cast score stg "foo:bar" "baz"; let h: nint = cast nint sco @r[] "name"; }