]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance2.scl
Merge commit '145a2884933f2ffdd48d6835729e58f1152d274e'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / NoInstance2.scl
1 \r
2 class Foo a where\r
3     foo :: a\r
4 \r
5 y :: Double\r
6 y = y\r
7     \r
8 x = if True then foo else y\r
9 --\r
10 8:18-8:21: There is no instance for <Foo Double>.