diff options
| author | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-25 15:12:12 +0000 |
|---|---|---|
| committer | Zuhaitz Méndez Fernández de Aránguiz <zuhaitz@debian> | 2026-01-25 15:12:12 +0000 |
| commit | 7d1944ab9d2307f2736afe8520436872db1c7617 (patch) | |
| tree | 7380a4f148f9ce0b70ed9f02cfa5e8561c783a7a /tests/features/test_mixin_methods.zc | |
| parent | 8b720543f538862796fec0ff6b7ea12cb140bf0f (diff) | |
'let' it be
Diffstat (limited to 'tests/features/test_mixin_methods.zc')
| -rw-r--r-- | tests/features/test_mixin_methods.zc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/features/test_mixin_methods.zc b/tests/features/test_mixin_methods.zc index 0932429..f69ae7c 100644 --- a/tests/features/test_mixin_methods.zc +++ b/tests/features/test_mixin_methods.zc @@ -19,11 +19,11 @@ struct Bar { } test "test_mixin_methods" { - var b: Bar; + let b: Bar; b.i = 42; b.f = 3.14; - var val = b.get_i(); + let val = b.get_i(); assert(val == 42, "Mixin method get_i() should return 42"); b.set_i(100); |
