X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FUnresolvedTypeInInstance.scl;h=d39827672422fc3250280b97760136833cd7da11;hp=1b5400cb07a15b4d5bcd036c079647671d286a97;hb=HEAD;hpb=861a3da972d67bf5f0d246129c63f611922e03f0 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/UnresolvedTypeInInstance.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/UnresolvedTypeInInstance.scl index 1b5400cb0..d39827672 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/UnresolvedTypeInInstance.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/UnresolvedTypeInInstance.scl @@ -1,9 +1,9 @@ -class Functor f where - map :: (a -> b) -> f a -> f b - -data Iddd a = Idd a - -instance Functor Idd where - map (Idd x) = x --- +class Functor f where + map :: (a -> b) -> f a -> f b + +data Iddd a = Idd a + +instance Functor Idd where + map (Idd x) = x +-- 6:18-6:21: Didn't find type constructor Idd. \ No newline at end of file