aboutsummaryrefslogtreecommitdiff
path: root/tests/struct_priv_trait_cont
diff options
context:
space:
mode:
Diffstat (limited to 'tests/struct_priv_trait_cont')
-rw-r--r--tests/struct_priv_trait_cont/struct.ek4
-rw-r--r--tests/struct_priv_trait_cont/struct_priv_trait_cont.ek2
2 files changed, 3 insertions, 3 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;
diff --git a/tests/struct_priv_trait_cont/struct_priv_trait_cont.ek b/tests/struct_priv_trait_cont/struct_priv_trait_cont.ek
index cd67050..7fb7e12 100644
--- a/tests/struct_priv_trait_cont/struct_priv_trait_cont.ek
+++ b/tests/struct_priv_trait_cont/struct_priv_trait_cont.ek
@@ -12,7 +12,7 @@ import "struct.ek"
* by the codegen. Should maybe try and do something about that as well.
*/
continue implementer {
- trait![];
+ trait!;
do_something(=> i27)
{
return 1;