[commit: ghc] master: Failing test case: idArity invariant check, #10181 (02897c5)

git at git.haskell.org git at git.haskell.org
Thu Jul 16 13:57:25 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/02897c586f091de5ba2b73bbef4c6054b28955d4/ghc

>---------------------------------------------------------------

commit 02897c586f091de5ba2b73bbef4c6054b28955d4
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Thu Jul 16 15:57:42 2015 +0200

    Failing test case: idArity invariant check, #10181
    
    This was found Thomas Miedema.


>---------------------------------------------------------------

02897c586f091de5ba2b73bbef4c6054b28955d4
 testsuite/tests/simplCore/should_compile/T10181.hs | 3 +++
 testsuite/tests/simplCore/should_compile/all.T     | 1 +
 2 files changed, 4 insertions(+)

diff --git a/testsuite/tests/simplCore/should_compile/T10181.hs b/testsuite/tests/simplCore/should_compile/T10181.hs
new file mode 100644
index 0000000..1983507
--- /dev/null
+++ b/testsuite/tests/simplCore/should_compile/T10181.hs
@@ -0,0 +1,3 @@
+module T10181 where
+
+t a = t a
diff --git a/testsuite/tests/simplCore/should_compile/all.T b/testsuite/tests/simplCore/should_compile/all.T
index ee2f631..9029710 100644
--- a/testsuite/tests/simplCore/should_compile/all.T
+++ b/testsuite/tests/simplCore/should_compile/all.T
@@ -214,3 +214,4 @@ test('T10176', only_ways(['optasm']), compile, [''])
 test('T10180', only_ways(['optasm']), compile, [''])
 test('T10602', only_ways(['optasm']), multimod_compile, ['T10602','-v0'])
 test('T10627', only_ways(['optasm']), compile, [''])
+test('T10181', [expect_broken(10181), only_ways(['optasm'])], compile, [''])



More information about the ghc-commits mailing list