[GHC] #10118: No ambiguity check when `ConstrainedClassMethods` is on

#10118: No ambiguity check when `ConstrainedClassMethods` is on -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.12.1 Component: Compiler | Version: 7.10.1-rc2 (Type checker) | Operating System: Unknown/Multiple Keywords: | Type of failure: None/Unknown Architecture: | Blocked By: Unknown/Multiple | Related Tickets: #7854 Test Case: | Blocking: | Differential Revisions: | -------------------------------------+------------------------------------- The following program is wrongfully accepted when `ConstrainedClassMethods` is on: {{{#!hs module ShouldFail where class Foo a where op :: Eq b => a -> Int }}} I have a fix. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10118 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10118: No ambiguity check when `ConstrainedClassMethods` is on -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.12.1 Component: Compiler (Type | Version: 7.10.1-rc2 checker) | Keywords: Resolution: | Architecture: Operating System: Unknown/Multiple | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | typecheck/should_fail/T10118 Related Tickets: #7854 | Blocking: | Differential Revisions: Phab:D686 -------------------------------------+------------------------------------- Changes (by thomie): * status: new => patch * testcase: => typecheck/should_fail/T10118 * differential: => Phab:D686 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10118#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10118: No ambiguity check when `ConstrainedClassMethods` is on -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Compiler (Type | Version: 7.10.1-rc2 checker) | Keywords: Resolution: fixed | Architecture: Operating System: Unknown/Multiple | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | typecheck/should_fail/T10118 Related Tickets: #7854 | Blocking: | Differential Revisions: Phab:D686 -------------------------------------+------------------------------------- Changes (by thomie): * status: patch => closed * resolution: => fixed Comment: Fixed by f66e0e695b0377c469fbe877d4850fc0ebca2010 (#7854). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10118#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#10118: No ambiguity check when `ConstrainedClassMethods` is on -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.12.1 Component: Compiler (Type | Version: 7.10.1-rc2 checker) | Keywords: Resolution: fixed | Architecture: Operating System: Unknown/Multiple | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #7854 | Differential Revisions: Phab:D686 -------------------------------------+------------------------------------- Changes (by thomie): * testcase: typecheck/should_fail/T10118 => -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10118#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC