[commit: ghc] wip/T9732: Add a dummy Void# argument to pattern synonym wrapper if it has no arguments and returns an unboxed type (see #9732) (d9c15c6)
git at git.haskell.org
git at git.haskell.org
Sat Nov 8 08:55:47 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : wip/T9732
Link : http://ghc.haskell.org/trac/ghc/changeset/d9c15c6b841d65eba0b30aa41f3dd549c0b69859/ghc
>---------------------------------------------------------------
commit d9c15c6b841d65eba0b30aa41f3dd549c0b69859
Author: Dr. ERDI Gergo <gergo at erdi.hu>
Date: Thu Nov 6 18:07:31 2014 +0800
Add a dummy Void# argument to pattern synonym wrapper
if it has no arguments and returns an unboxed type (see #9732)
>---------------------------------------------------------------
d9c15c6b841d65eba0b30aa41f3dd549c0b69859
compiler/typecheck/TcPatSyn.lhs | 68 +++++++++++-----------
testsuite/.gitignore | 1 +
testsuite/tests/patsyn/should_compile/T9732.hs | 4 ++
testsuite/tests/patsyn/should_compile/all.T | 1 +
testsuite/tests/patsyn/should_fail/all.T | 2 +-
.../patsyn/should_fail/unboxed-wrapper-naked.hs | 8 +++
.../should_fail/unboxed-wrapper-naked.stderr | 3 +
testsuite/tests/patsyn/should_run/all.T | 2 +
.../tests/patsyn/should_run/unboxed-wrapper.hs | 9 +++
.../should_run/unboxed-wrapper.stdout} | 0
10 files changed, 64 insertions(+), 34 deletions(-)
Diff suppressed because of size. To see it, use:
git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc d9c15c6b841d65eba0b30aa41f3dd549c0b69859
More information about the ghc-commits
mailing list