]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/GuardedExpressionBug.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / GuardedExpressionBug.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/GuardedExpressionBug.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/GuardedExpressionBug.scl
new file mode 100644 (file)
index 0000000..c0d45f1
--- /dev/null
@@ -0,0 +1,9 @@
+tableIndex :: Double -> Double
+tableIndex x
+    | True = x
+  where
+    f _ = x
+
+main = "Foo"
+--
+Foo
\ No newline at end of file