]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeInferenceBug3.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 / TypeInferenceBug3.scl
1 import "Prelude"
2
3 foo :: Integer -> <Proc> (Integer -> <Proc> ())
4 foo i = do
5     print i
6     \j -> print j
7
8 main = foo 3 4
9 --
10 3
11 4
12 ()