[GHC] #14487: Can't Hide Field When DuplicateRecordFields Is Enabled

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled -------------------------------------+------------------------------------- Reporter: iansullivan88 | Owner: (none) Type: bug | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.0.2 Keywords: | Operating System: Linux DuplicateRecordFields | Architecture: x86_64 | Type of failure: GHC rejects (amd64) | valid program Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- A.hs fails to compile when DuplicateRecordFields is enabled in B.hs. A.hs {{{#!hs module A where import B hiding (duplicateName) test = X duplicateName duplicateName = 5 }}} B.hs {{{#!hs {-# LANGUAGE DuplicateRecordFields #-} module B where data X = X { duplicateName :: Int } }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14487 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled -------------------------------------+------------------------------------- Reporter: iansullivan88 | Owner: (none) Type: bug | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: | DuplicateRecordFields ORF Operating System: Linux | Architecture: x86_64 Type of failure: GHC rejects | (amd64) valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * keywords: DuplicateRecordFields => DuplicateRecordFields ORF -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14487#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled -------------------------------------+------------------------------------- Reporter: iansullivan88 | Owner: (none) Type: bug | Status: new Priority: lowest | Milestone: Component: Compiler | Version: 8.0.2 Resolution: | Keywords: | DuplicateRecordFields ORF Operating System: Linux | Architecture: x86_64 Type of failure: GHC rejects | (amd64) valid program | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by adamgundry): * cc: adamgundry (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14487#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled -------------------------------------+------------------------------------- Reporter: iansullivan88 | Owner: (none) Type: bug | Status: patch Priority: lowest | Milestone: 8.6.1 Component: Compiler | Version: 8.0.2 Resolution: | Keywords: | DuplicateRecordFields ORF Operating System: Linux | Architecture: x86_64 | (amd64) Type of failure: GHC rejects | Test Case: valid program | rename/should_compile/T14487 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4805 Wiki Page: | -------------------------------------+------------------------------------- Changes (by adamgundry): * testcase: => rename/should_compile/T14487 * status: new => patch * differential: => Phab:D4805 * milestone: => 8.6.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14487#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled
-------------------------------------+-------------------------------------
Reporter: iansullivan88 | Owner: (none)
Type: bug | Status: patch
Priority: lowest | Milestone: 8.6.1
Component: Compiler | Version: 8.0.2
Resolution: | Keywords:
| DuplicateRecordFields ORF
Operating System: Linux | Architecture: x86_64
| (amd64)
Type of failure: GHC rejects | Test Case:
valid program | rename/should_compile/T14487
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s): Phab:D4805
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Ben Gamari

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled -------------------------------------+------------------------------------- Reporter: iansullivan88 | Owner: (none) Type: bug | Status: closed Priority: lowest | Milestone: 8.6.1 Component: Compiler | Version: 8.0.2 Resolution: fixed | Keywords: | DuplicateRecordFields ORF Operating System: Linux | Architecture: x86_64 | (amd64) Type of failure: GHC rejects | Test Case: valid program | rename/should_compile/T14487 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4805 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14487#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14487: Can't Hide Field When DuplicateRecordFields Is Enabled -------------------------------------+------------------------------------- Reporter: iansullivan88 | Owner: (none) Type: bug | Status: closed Priority: lowest | Milestone: 8.6.1 Component: Compiler | Version: 8.0.2 Resolution: fixed | Keywords: | DuplicateRecordFields ORF Operating System: Linux | Architecture: x86_64 | (amd64) Type of failure: GHC rejects | Test Case: valid program | rename/should_compile/T14487, | 14487A, | overloadedrecflds/should_fail/DuplicateExports Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D4805 Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * testcase: rename/should_compile/T14487 => rename/should_compile/T14487, 14487A, overloadedrecflds/should_fail/DuplicateExports -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14487#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC