From 2c7ece947ce72001acc15324bd58a8b0e3b85dae Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Sat, 3 Sep 2022 13:01:40 +0200 Subject: [PATCH] :art: test var Foo(...) --- tests/ctor/ctor_overload.gw | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/ctor/ctor_overload.gw b/tests/ctor/ctor_overload.gw index 1c7c8033..82f80c14 100644 --- a/tests/ctor/ctor_overload.gw +++ b/tests/ctor/ctor_overload.gw @@ -7,8 +7,8 @@ class C { operator new() {} } -new C() :=> var auto c; -new C(2) :=> var auto d; +var C() c; +var C(2) d; <<< "c:${c.i}, d:${d.i}" >>>; <<< "the answer: ${(new C(42)).i}" >>>; -- 2.43.0