]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidInstance1.scl
Merge commit '5da68e7'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InvalidInstance1.scl
1 class Foo a where\r
2     (+) :: a -> a -> a\r
3 \r
4 instance Foo Double where\r
5     infix 3 (+)\r
6     x + y = x\r
7 --\r
8 5:5-5:16: Invalid declaration under instance definition.