[GHC] #10781: Qualified use of undefined name starting with underscore considered a hole
#10781: Qualified use of undefined name starting with underscore considered a hole -------------------------------------+------------------------------------- Reporter: EyalLotem | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Keywords: holes | Operating System: Unknown/Multiple qualified | Architecture: | Type of failure: Incorrect Unknown/Multiple | warning at compile-time Test Case: | Blocked By: Blocking: | Related Tickets: Differential Revisions: | -------------------------------------+------------------------------------- `Foo._name` is reported as an error `..: Found hole ...`. It doesn't make much sense to use qualified holes like that, so it is not useful to treat such qualified names as holes. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10781> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10781: Qualified use of undefined name starting with underscore considered a hole -------------------------------------+------------------------------------- Reporter: EyalLotem | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.2 Resolution: | Keywords: holes | qualified Operating System: Unknown/Multiple | Architecture: Type of failure: Incorrect | Unknown/Multiple warning at compile-time | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Comment (by Thomas Miedema <thomasmiedema@…>): In [changeset:"8d89d80d907a7df1d455e87a382b41dc65c42140/ghc" 8d89d80/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="8d89d80d907a7df1d455e87a382b41dc65c42140" Testsuite: add test for #10781 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10781#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#10781: Qualified use of undefined name starting with underscore considered a hole -------------------------------------+------------------------------------- Reporter: EyalLotem | Owner: Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.2 Resolution: fixed | Keywords: holes | qualified Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: Incorrect | Test Case: warning at compile-time | rename/should_fail/T10781.hs Blocked By: | Blocking: Related Tickets: | Differential Revisions: -------------------------------------+------------------------------------- Changes (by thomie): * testcase: => rename/should_fail/T10781.hs * status: new => closed * resolution: => fixed * milestone: => 8.0.1 Comment: Thanks for the report. Fixed in HEAD already. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10781#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC