[GHC] #13803: Panic while forcing the thunk for TyThing IsFile (regression)
GHC
ghc-devs at haskell.org
Thu Jun 8 19:05:04 UTC 2017
#13803: Panic while forcing the thunk for TyThing IsFile (regression)
-------------------------------------+-------------------------------------
Reporter: inaki | Owner: (none)
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1-rc2
Resolution: | Keywords: hs-boot
Operating System: Unknown/Multiple | Architecture:
Type of failure: Compile-time | Unknown/Multiple
crash or panic | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
OK, here's a version of `GIGioInterfacesFile` with no external
dependencies:
{{{#!hs
module GIGioInterfacesFile where
import Control.DeepSeq ()
import {-# SOURCE #-} qualified GIGioObjectsFileEnumerator as
Gio.FileEnumerator
import {-# SOURCE #-} qualified GIGioObjectsMountOperation as
Gio.MountOperation
class IsFile o
}}}
I have yet to figure out why the import of `Control.DeepSeq` is needed
here.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13803#comment:7>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list