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%2FSSATypingBug.scl;h=65006acc0fcacc1692c97ae028cd6d52e966a606;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=15ff01275ec29dfb0026474da816df9d803e55f7;hpb=c08364c64a0bb53c45c052a3e4cea8702bbd69a0;p=simantics%2Fplatform.git diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SSATypingBug.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SSATypingBug.scl index 15ff01275..65006acc0 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SSATypingBug.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/SSATypingBug.scl @@ -1,11 +1,11 @@ -import "Prelude" - -test :: () -> [Integer] -test _ = do - header = [0] - rows = map (\foo -> map (\bar -> bar) [foo]) [1..5] - foldl (+) header rows - -main = test () --- +import "Prelude" + +test :: () -> [Integer] +test _ = do + header = [0] + rows = map (\foo -> map (\bar -> bar) [foo]) [1..5] + foldl (+) header rows + +main = test () +-- [0, 1, 2, 3, 4, 5] \ No newline at end of file