[GHC] #10946: Typed hole inside typed Template Haskell bracket causes panic
GHC
ghc-devs at haskell.org
Mon Mar 5 17:37:09 UTC 2018
#10946: Typed hole inside typed Template Haskell bracket causes panic
-------------------------------------+-------------------------------------
Reporter: jstolarek | Owner: (none)
Type: bug | Status: new
Priority: high | Milestone: 8.4.1
Component: Template Haskell | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash | Test Case: th/T10946
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
So in f64f7c36ef9395da1cc7b686aaf1b019204cd0fc, we added a test case for
this that was marked as `expect_broken`. However, that program now loops
infinitely on GHC HEAD!
{{{
$ inplace/bin/ghc-stage2 --interactive
GHCi, version 8.5.20180305: http://www.haskell.org/ghc/ :? for help
Loaded GHCi configuration from /home/rgscott/.ghci
λ> :set -XTemplateHaskell
λ> m :: a -> a; m x = $$([||_||]) -- Loops infinitely
^CInterrupted.
}}}
Should we disable the test case entirely in the meantime?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10946#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list