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=1ed310d4abb7444048b899f27822ec29a0d35e94;hp=15ff01275ec29dfb0026474da816df9d803e55f7;hpb=fdbe87627e92805701d0672fbe8f1dc60b7f7b00;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