Implement Phase 6 Box reference operations in MIR/VM - RefNew/RefGet/RefSet/WeakNew/WeakLoad/Barrier*

Co-authored-by: moe-charm <217100418+moe-charm@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2025-08-13 09:45:22 +00:00
parent 65ce7a5f8c
commit 84d2aac8da
9 changed files with 416 additions and 4 deletions

14
test_simple_field.nyash Normal file
View File

@ -0,0 +1,14 @@
// Simpler test for field access MIR
static box Main {
init { obj }
main() {
me.obj = "test"
local field_value
// This should trigger field access parsing
field_value = me.obj
print(field_value)
return "Done"
}
}