]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/WrongInstanceMethod.scl
Supply SVG text editor with element measurement context
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / WrongInstanceMethod.scl
1
2 class Foo a where
3     foo :: a
4     
5 instance Foo Integer where
6     foo = foo
7     bar = foo
8     
9 main = "Not to be executed."
10 --
11 7:5-7:14: Method bar is not defined in the type class Foo.