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%2FVoid2.scl;h=4c75369c069c882c00895a20d1849572aba52317;hp=f953aaf586c5761fb541c3049ae6b5aff1f07b4d;hb=refs%2Fchanges%2F38%2F238%2F2;hpb=24e2b34260f219f0d1644ca7a138894980e25b14 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Void2.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Void2.scl index f953aaf58..4c75369c0 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Void2.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Void2.scl @@ -1,13 +1,13 @@ -import "JavaBuiltin" as Java - -class Foo a where - foo :: a -> () -> a - -instance Foo Integer where - foo x () = x - -idWithFoo x = foo x () - -main = idWithFoo (13 :: Integer) --- +import "JavaBuiltin" as Java + +class Foo a where + foo :: a -> () -> a + +instance Foo Integer where + foo x () = x + +idWithFoo x = foo x () + +main = idWithFoo (13 :: Integer) +-- 13 \ No newline at end of file