aboutsummaryrefslogtreecommitdiff
path: root/tests/struct_pub_generic_cont/struct_pub_generic_cont.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-01-13 09:15:11 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-01-13 09:15:11 +0200
commit164625327bd057141edf84339d4b43b2a8e2de24 (patch)
tree2557a51cff6389f135ee40b33e43de728ae862c7 /tests/struct_pub_generic_cont/struct_pub_generic_cont.ek
parent4dd30a1382b2dffa301e655962eafbf92b3b75f3 (diff)
downloadek-164625327bd057141edf84339d4b43b2a8e2de24.tar.gz
ek-164625327bd057141edf84339d4b43b2a8e2de24.zip
require that continuations have same publicity
Diffstat (limited to 'tests/struct_pub_generic_cont/struct_pub_generic_cont.ek')
-rw-r--r--tests/struct_pub_generic_cont/struct_pub_generic_cont.ek5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/struct_pub_generic_cont/struct_pub_generic_cont.ek b/tests/struct_pub_generic_cont/struct_pub_generic_cont.ek
index 905bdf9..1712669 100644
--- a/tests/struct_pub_generic_cont/struct_pub_generic_cont.ek
+++ b/tests/struct_pub_generic_cont/struct_pub_generic_cont.ek
@@ -1,13 +1,8 @@
import "struct.ek"
-continue struct[any T] {
- do_something(){}
-}
-
main()
{
mut p = struct![i27]{};
- /* should be different from do_something() defined in struct.ek */
p.do_something();
some_func();