aboutsummaryrefslogtreecommitdiff
path: root/tests/struct_priv_trait_cont/struct.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-01-16 00:21:02 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-01-16 00:21:02 +0200
commit9ca1d0c763e1c506ae7b43d50db225914b709397 (patch)
treeff80aa07a1b1ee6515926ec5d078bc44866a46aa /tests/struct_priv_trait_cont/struct.ek
parent7eaa051d4dcc3048c46f302997fd2175a983ac0e (diff)
downloadek-9ca1d0c763e1c506ae7b43d50db225914b709397.tar.gz
ek-9ca1d0c763e1c506ae7b43d50db225914b709397.zip
more strict trait checking
Diffstat (limited to 'tests/struct_priv_trait_cont/struct.ek')
-rw-r--r--tests/struct_priv_trait_cont/struct.ek4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/struct_priv_trait_cont/struct.ek b/tests/struct_priv_trait_cont/struct.ek
index 6c94aaa..b790dd4 100644
--- a/tests/struct_priv_trait_cont/struct.ek
+++ b/tests/struct_priv_trait_cont/struct.ek
@@ -1,13 +1,13 @@
pub typedef ptr {};
pub typedef i27 {};
-pub define trait[] {
+pub define trait {
do_something(=> i27);
}
pub typedef implementer {}
continue implementer {
- trait![];
+ trait!;
do_something(=> i27)
{
return 0;