[GHC] #13466: Ghci panics with type applications to unknown functions

#13466: Ghci panics with type applications to unknown functions -------------------------------------+------------------------------------- Reporter: aspiwack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I haven't investigated further, but I stumbled upon the following: {{{ Prelude> :set -XTypeApplications Prelude> :t nonexistant @[] ghc: panic! (the 'impossible' happened) (GHC version 8.0.2 for x86_64-unknown-linux): initTc: unsolved constraints WC {wc_insol = [W] nonexistant_a2YB :: t_a2YA[tau:3] (CHoleCan: nonexistant)} }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13466 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13466: Ghci panics with type applications to unknown functions -------------------------------------+------------------------------------- Reporter: aspiwack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj): Could this be #13106? Try with HEAD? Thanks! -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13466#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13466: Ghci panics with type applications to unknown functions -------------------------------------+------------------------------------- Reporter: aspiwack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Resolution: | Keywords: | TypeApplications Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * keywords: => TypeApplications Comment: Actually, it's not #13106 for once! I can reproduce this on GHC HEAD as well: {{{ GHCi, version 8.3.20170322: http://www.haskell.org/ghc/ :? for help Loaded GHCi configuration from /home/rgscott/.ghci λ> :set -XTypeApplications λ> :t nonexistant @[] ghc-stage2: panic! (the 'impossible' happened) (GHC version 8.3.20170322 for x86_64-unknown-linux): initTc: unsolved constraints WC {wc_insol = [WD] nonexistant_a1tE {0}:: t1_a1tD[tau:2] (CHoleCan: nonexistant)} Call stack: CallStack (from HasCallStack): prettyCurrentCallStack, called at compiler/utils/Outputable.hs:1191:58 in ghc:Outputable callStackDoc, called at compiler/utils/Outputable.hs:1195:37 in ghc:Outputable pprPanic, called at compiler/typecheck/TcRnMonad.hs:343:17 in ghc:TcRnMonad }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13466#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13466: Ghci panics with type applications to unknown functions
-------------------------------------+-------------------------------------
Reporter: aspiwack | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: GHCi | Version: 8.0.2
Resolution: | Keywords:
| TypeApplications
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by Simon Peyton Jones

#13466: Ghci panics with type applications to unknown functions -------------------------------------+------------------------------------- Reporter: aspiwack | Owner: (none) Type: bug | Status: merge Priority: normal | Milestone: Component: GHCi | Version: 8.0.2 Resolution: | Keywords: | TypeApplications Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/scripts/T13466 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * status: new => merge * testcase: => ghci/scripts/T13466 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13466#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13466: Ghci panics with type applications to unknown functions -------------------------------------+------------------------------------- Reporter: aspiwack | Owner: (none) Type: bug | Status: merge Priority: normal | Milestone: 8.2.1 Component: GHCi | Version: 8.0.2 Resolution: | Keywords: | TypeApplications Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/scripts/T13466 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by simonpj): * milestone: => 8.2.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13466#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#13466: Ghci panics with type applications to unknown functions -------------------------------------+------------------------------------- Reporter: aspiwack | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: 8.2.1 Component: GHCi | Version: 8.0.2 Resolution: fixed | Keywords: | TypeApplications Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: | ghci/scripts/T13466 Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed Comment: Merged to `ghc-8.2` as a260938a30192b6bf159fd1a646455d982184d84. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/13466#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC