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%2FWrongInstanceMethod.scl;h=ffbd7aaf2ffdc9a328bb5c4b29638e7dc0afb3bb;hp=2cdc4e86b1c0212820adb3b70fd4ece87f846f99;hb=HEAD;hpb=06718abb2b3cc780748553811c4857c165499809 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/WrongInstanceMethod.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/WrongInstanceMethod.scl index 2cdc4e86b..ffbd7aaf2 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/WrongInstanceMethod.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/WrongInstanceMethod.scl @@ -1,11 +1,11 @@ - -class Foo a where - foo :: a - -instance Foo Integer where - foo = foo - bar = foo - -main = "Not to be executed." --- + +class Foo a where + foo :: a + +instance Foo Integer where + foo = foo + bar = foo + +main = "Not to be executed." +-- 7:5-7:14: Method bar is not defined in the type class Foo. \ No newline at end of file