]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidTypeClassInstance1.scl
Merge commit 'ffdf837'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InvalidTypeClassInstance1.scl
1 \r
2 class Foo a where\r
3     foo :: a -> Integer\r
4     \r
5 instance Foo Long where\r
6     foo x = x\r
7         \r
8 --\r
9 6:13-6:14: Expected <Integer> got <Long>.