From 7b2f8c913792f50d94631e765255839214e565a2 Mon Sep 17 00:00:00 2001 From: simonm <unknown> Date: Wed, 17 Dec 1997 11:08:16 +0000 Subject: [PATCH] [project @ 1997-12-17 11:08:16 by simonm] add typechecker bug which we currently don't have a fix for --- ghc/tests/typecheck/should_compile/tc094.hs | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ghc/tests/typecheck/should_compile/tc094.hs diff --git a/ghc/tests/typecheck/should_compile/tc094.hs b/ghc/tests/typecheck/should_compile/tc094.hs new file mode 100644 index 000000000000..334c34cf18eb --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc094.hs @@ -0,0 +1,7 @@ +module ShouldSucceed where + +-- From a bug report by Sven Panne. + +foo = bar + where bar = \_ -> (truncate boing, truncate boing) + boing = 0 -- GitLab