- Update CLAUDE.md with 32-thread build option - Enhance phase7_async_mir.md with detailed implementation plan - Add Obj class definition to phase6_ref_set_get.nyash - Create phase6_ref_set_get_correct.nyash following Everything is Box philosophy
15 lines
185 B
Plaintext
15 lines
185 B
Plaintext
// Phase 6.1 test: Object creation and field access
|
|
box Obj {
|
|
init { x }
|
|
}
|
|
|
|
static box Main {
|
|
main() {
|
|
local o
|
|
o = new Obj()
|
|
o.x = 1
|
|
print(o.x)
|
|
return o.x
|
|
}
|
|
}
|