]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Arity1.scl
Ensure GetElementClassRequest is not constructed without elementFactory
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Arity1.scl
1 \r
2 data Foo a = Foo a\r
3 \r
4 f :: Foo a -> a\r
5 f = \Foo a -> a \r
6 \r
7 main = "Not to be executed"\r
8 --\r
9 5:6-5:11: Arity is 1 but 2 patterns have been given.