Files
hakorune/test_field_mir.nyash

16 lines
285 B
Plaintext

// Test field access MIR generation
static box TestBox {
init { name, value }
}
static box Main {
init { test_obj }
main() {
me.test_obj = new TestBox()
local result
result = me.test_obj.name
print(result)
return "Done"
}
}