From 9ca1d0c763e1c506ae7b43d50db225914b709397 Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 16 Jan 2025 00:21:02 +0200 Subject: more strict trait checking --- tests/trait_multiple_expand/source.mk | 2 +- tests/trait_multiple_expand/trait_multiple_expand.ek | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tests/trait_multiple_expand') diff --git a/tests/trait_multiple_expand/source.mk b/tests/trait_multiple_expand/source.mk index 6d1bcbb..e6193c7 100644 --- a/tests/trait_multiple_expand/source.mk +++ b/tests/trait_multiple_expand/source.mk @@ -1 +1 @@ -SIMPLE_XFAIL += trait_multiple_expand +SIMPLE_XFAIL += trait_multiple_expand,"reimplementation of trait" diff --git a/tests/trait_multiple_expand/trait_multiple_expand.ek b/tests/trait_multiple_expand/trait_multiple_expand.ek index 04e2b82..3444305 100644 --- a/tests/trait_multiple_expand/trait_multiple_expand.ek +++ b/tests/trait_multiple_expand/trait_multiple_expand.ek @@ -1,21 +1,21 @@ typedef ptr {} -define b[] { - c![]; - a![]; +define b { + c!; + a!; } -define a[] { - c![]; +define a { + c!; a(*a a); } -define c[] { +define c { c(*c c); } typedef d { - b![]; + b!; c(*d d) {} } -- cgit v1.3