]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance2.scl
(refs #7307) Added features field to SCL module header
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / NoInstance2.scl
1
2 class Foo a where
3     foo :: a
4
5 y :: Double
6 y = y
7     
8 x = if True then foo else y
9 --
10 8:18-8:21: There is no instance for <Foo Double>.