]> Nishi Git Mirror - gwion.git/commitdiff
:white_check_mark: Update tests
authorJérémie Astor <fennecdjay@gmail.com>
Mon, 25 Apr 2022 20:08:57 +0000 (22:08 +0200)
committerJérémie Astor <fennecdjay@gmail.com>
Mon, 25 Apr 2022 20:08:57 +0000 (22:08 +0200)
tests/error/not_global_inside_global_class.gw

index 6a5a8f197406abf53026af05ac3f8c327e9a4dc0..86eea4db85eb50fc0148a6aba56aff5740e3943d 100644 (file)
@@ -1,7 +1,8 @@
 #! [contains] non-global type in a global class
 
-class State{}
+class C {}
+class global State{}
 
 class global States extends State[16] {
-    var State current;
+    var C current;
 }