diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-16 00:21:02 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-16 00:21:02 +0200 |
| commit | 9ca1d0c763e1c506ae7b43d50db225914b709397 (patch) | |
| tree | ff80aa07a1b1ee6515926ec5d078bc44866a46aa /tests/trait_multiple_expand | |
| parent | 7eaa051d4dcc3048c46f302997fd2175a983ac0e (diff) | |
| download | ek-9ca1d0c763e1c506ae7b43d50db225914b709397.tar.gz ek-9ca1d0c763e1c506ae7b43d50db225914b709397.zip | |
more strict trait checking
Diffstat (limited to 'tests/trait_multiple_expand')
| -rw-r--r-- | tests/trait_multiple_expand/source.mk | 2 | ||||
| -rw-r--r-- | tests/trait_multiple_expand/trait_multiple_expand.ek | 14 |
2 files changed, 8 insertions, 8 deletions
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) {} } |
