[GHC] #13075: Top-level bang pattern accepted
GHC
ghc-devs at haskell.org
Mon Feb 26 11:18:33 UTC 2018
#13075: Top-level bang pattern accepted
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone: 8.6.1
Component: Compiler | Version: 8.0.1
(Parser) |
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
| typecheck/should_fail/T13075
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by sighingnow):
This ticket has already been fixed in
[changeset:"af89d6872da2e00be738e1ac541346cd84e6d141/ghc"]
{{{
Reject top-level banged bindings
Bizarrely, we were not rejecting
!x = e
Fix:
* In the test in DsBinds.dsTopLHsBinds, use isBangedHsBind, not
isBangedPatBind. (Indeed the latter dies altogther.)
* Implement isBangedHsBind in HsUtils;
be sure to handle AbsBinds
All this was shown up by Trac #13594
}}}
We should mark testcase T13075 as normal and add it's stderr.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13075#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list