]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidKinds2.scl
(refs #7307) Added features field to SCL module header
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InvalidKinds2.scl
1 class Functor f where
2     map :: (a -> b) -> f a -> f b
3     
4 instance Functor Integer where
5     map = fail "Not implemented."
6
7 main = "Not to be executed."
8 --
9 4:18-4:25: Expected a type with kind * -> * but got *.