]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/CHR8.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / CHR8.scl
index ce3064aa427359a46dd24c47126a636853fa9bcb..6929a0b9291a441cf31fd390d419d33b5d4f1308 100644 (file)
@@ -1,12 +1,9 @@
-module {
-    export = [main],
-    chr
-}
-
+module { export = [main], features = [chr] }
 import "StandardLibrary"
 
 main = ()
   where
     X ?x => Y ?y
 --
-10:15-10:17: New existential variables can be defined only in queries.
\ No newline at end of file
+6:7-6:9: Existential variable ?x is referred only once. Replace by _ if this is a wildcard.
+6:15-6:17: New existential variables can be defined only in queries.
\ No newline at end of file