]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FoldMissingInitialValue.scl
Merge commit 'e87f096'
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / FoldMissingInitialValue.scl
1 import "Prelude"\r
2 \r
3 f p l = (foldl (+) (map ((+)p) l)) + p\r
4 --\r
5 3:1-3:39: Couldn't simplify all effect subsumptions away. The current compiler cannot handle this situation. Try adding more type annotations.\r
6 3:25-3:31: Type [a b] -> <c> a b is not a subtype of a.