]> gerrit.simantics Code Review - simantics/platform.git/blob - InvalidTypeClassInstance1.scl
009046f244f5637c16255d55d8248d9135bc59e0
[simantics/platform.git] / InvalidTypeClassInstance1.scl
1
2 class Foo a where
3     foo :: a -> Integer
4     
5 instance Foo Long where
6     foo x = x
7         
8 --
9 6:13-6:14: Expected <Integer> got <Long>.