[GHC] #8757: Disallow local pattern synonym declarations

#8757: Disallow local pattern synonym declarations -------------------------------------+------------------------------------- Reporter: cactus | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 7.8.1-rc1 checker) | Operating System: Unknown/Multiple Keywords: | Type of failure: GHC accepts Architecture: Unknown/Multiple | invalid program Difficulty: Easy (less than 1 | Test Case: hour) | Blocking: Blocked By: | Related Tickets: | -------------------------------------+------------------------------------- Locally-defined pattern synonyms work by accident in GHC and crash GHCi (see #8749), but certainly not by design. It can be confusing because it introduces shadowing to constructor-like names. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8757 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8757: Disallow local pattern synonym declarations -------------------------------------+------------------------------------- Reporter: cactus | Owner: cactus Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 7.8.1-rc1 checker) | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: GHC accepts | hour) invalid program | Blocked By: Test Case: | Related Tickets: Blocking: 8749 | -------------------------------------+------------------------------------- Changes (by cactus): * owner: => cactus * blocking: => 8749 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8757#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8757: Disallow local pattern synonym declarations
-------------------------------------+-------------------------------------
Reporter: cactus | Owner: cactus
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 7.8.1-rc1
checker) | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Unknown/Multiple | Difficulty: Easy (less than 1
Type of failure: GHC accepts | hour)
invalid program | Blocked By:
Test Case: | Related Tickets:
Blocking: 8749 |
-------------------------------------+-------------------------------------
Comment (by Dr. ERDI Gergo

#8757: Disallow local pattern synonym declarations -------------------------------------+------------------------------------- Reporter: cactus | Owner: cactus Type: bug | Status: merge Priority: normal | Milestone: Component: Compiler (Type | Version: 7.8.1-rc1 checker) | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: GHC accepts | hour) invalid program | Blocked By: Test Case: | Related Tickets: Blocking: 8749 | -------------------------------------+------------------------------------- Changes (by cactus): * status: new => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8757#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8757: Disallow local pattern synonym declarations
-------------------------------------+-------------------------------------
Reporter: cactus | Owner: cactus
Type: bug | Status: merge
Priority: normal | Milestone:
Component: Compiler (Type | Version: 7.8.1-rc1
checker) | Keywords:
Resolution: | Architecture: Unknown/Multiple
Operating System: Unknown/Multiple | Difficulty: Easy (less than 1
Type of failure: GHC accepts | hour)
invalid program | Blocked By:
Test Case: | Related Tickets:
Blocking: 8749 |
-------------------------------------+-------------------------------------
Comment (by Dr. ERDI Gergo

#8757: Disallow local pattern synonym declarations -------------------------------------+------------------------------------- Reporter: cactus | Owner: cactus Type: bug | Status: merge Priority: normal | Milestone: 7.8.1 Component: Compiler (Type | Version: 7.8.1-rc1 checker) | Keywords: Resolution: | Architecture: Unknown/Multiple Operating System: Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: GHC accepts | hour) invalid program | Blocked By: Test Case: | Related Tickets: patsyn/should_fail/local | Blocking: 8749 | -------------------------------------+------------------------------------- Changes (by hvr): * testcase: => patsyn/should_fail/local * milestone: => 7.8.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8757#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8757: Disallow local pattern synonym declarations -------------------------------------+------------------------------------- Reporter: cactus | Owner: cactus Type: bug | Status: closed Priority: normal | Milestone: 7.8.1 Component: Compiler (Type | Version: 7.8.1-rc1 checker) | Keywords: Resolution: fixed | Architecture: Unknown/Multiple Operating System: Unknown/Multiple | Difficulty: Easy (less than 1 Type of failure: GHC accepts | hour) invalid program | Blocked By: Test Case: | Related Tickets: patsyn/should_fail/local | Blocking: 8749 | -------------------------------------+------------------------------------- Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8757#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC