]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InstanceTypeVariables.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InstanceTypeVariables.scl
1 class Foo a b where
2     foo :: a -> b
3
4 instance Foo a a where
5     foo x = x :: a
6
7 main = "OK"
8 --
9 OK
10