]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ClashingInstance.scl
Fixed all line endings of the repository
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ClashingInstance.scl
index 72178db3a7b54abb91077a98cf40d6446749d8a0..847bf67a94711a8e9aba0bd9620b124542265275 100644 (file)
@@ -1,14 +1,14 @@
-import "JavaBuiltin" as Java\r
-\r
-infixl 6 (+)\r
-\r
-class Additive a where \r
-    (+)  :: a -> a -> a    \r
-    \r
-instance Additive Double where\r
-    (+) = Java.dadd\r
-\r
-instance Additive Double where\r
-    (+) = Java.dadd\r
---\r
+import "JavaBuiltin" as Java
+
+infixl 6 (+)
+
+class Additive a where 
+    (+)  :: a -> a -> a    
+    
+instance Additive Double where
+    (+) = Java.dadd
+
+instance Additive Double where
+    (+) = Java.dadd
+--
 11:1-12:20: Duplicate definition of the instance Additive Double.
\ No newline at end of file