]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/scl/BigInstances.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / tests / scl / BigInstances.scl
1
2 class Foo a where
3     foo :: a
4     
5 class (Foo a) => Bar a where
6     bar :: a
7     
8 instance Bar Double where
9     foo x = x
10     bar x = x
11     
12 main = foo 3.0 + bar 4.0
13 --
14 7.0
15
16