X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FPolymorphicRecursion2.scl;fp=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FPolymorphicRecursion2.scl;h=ffcf9e8925ddeb00c17d6c9df449f0370ee7d172;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=44738e0554c983caa238649753702cd507da790d;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/PolymorphicRecursion2.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/PolymorphicRecursion2.scl index 44738e055..ffcf9e892 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/PolymorphicRecursion2.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/PolymorphicRecursion2.scl @@ -1,12 +1,12 @@ - - -class Foo a where - foo :: a - -data List a = Nil | Cons a (List a) - -r x = Cons foo (r x) - -main = (1.0 :: Double) --- + + +class Foo a where + foo :: a + +data List a = Nil | Cons a (List a) + +r x = Cons foo (r x) + +main = (1.0 :: Double) +-- 1.0 \ No newline at end of file