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%2FNoInstance2.scl;h=5cb013e89e00d7785ae226a990e5250085393e9c;hp=9490a822dc0c7b0dff4507d9b157ceea536d31f3;hb=HEAD;hpb=2a8d452434358e28cb826744bc01755a46455afd diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance2.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance2.scl index 9490a822d..5cb013e89 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance2.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoInstance2.scl @@ -1,10 +1,10 @@ - -class Foo a where - foo :: a - -y :: Double -y = y - -x = if True then foo else y --- + +class Foo a where + foo :: a + +y :: Double +y = y + +x = if True then foo else y +-- 8:18-8:21: There is no instance for . \ No newline at end of file