]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidInstance1.scl
(refs #7307) Added features field to SCL module header
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InvalidInstance1.scl
index 35064c6450e293148fd1d050ec8893e5bbc11850..36b3b92fc66ac33be0662ae680f4198f558be8bc 100644 (file)
@@ -1,8 +1,8 @@
-class Foo a where\r
-    (+) :: a -> a -> a\r
-\r
-instance Foo Double where\r
-    infix 3 (+)\r
-    x + y = x\r
---\r
+class Foo a where
+    (+) :: a -> a -> a
+
+instance Foo Double where
+    infix 3 (+)
+    x + y = x
+--
 5:5-5:16: Invalid declaration under instance definition.    
\ No newline at end of file