Files
hakorune/local_tests/test_field_mir.hako

16 lines
285 B
Plaintext
Raw Normal View History

// 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"
}
}