]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SharedTypeVariable.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 / SharedTypeVariable.scl
1 // Idea here is that the type variable in the top level type annotation
2 // and the type annotation in the expression should be the same type.
3 id :: a -> a
4 id x = (x :: a)
5
6 main = id "OK"
7 --
8 OK