phase: 20.49 COMPLETE; 20.50 Flow+String minimal reps; 20.51 selfhost v0/v1 minimal (Option A/B); hv1-inline binop/unop/copy; docs + run_all + CURRENT_TASK -> 21.0
This commit is contained in:
14
tests/development/test_simple_constructor.hako
Normal file
14
tests/development/test_simple_constructor.hako
Normal file
@ -0,0 +1,14 @@
|
||||
|
||||
// シンプルなコンストラクタテスト
|
||||
box TestBox {
|
||||
init { value }
|
||||
|
||||
constructor() {
|
||||
me.value = "default"
|
||||
}
|
||||
}
|
||||
|
||||
local t
|
||||
t = new TestBox()
|
||||
print("Value: " + t.value)
|
||||
|
||||
Reference in New Issue
Block a user