Skip to content

SPECIALISE broken

module Test where

fac n = fac n
{-# SPECIALISE fac :: Int -> Int #-}
~/scratch > ~/hackathon/ghc/compiler/ghc-inplace -O fac.hs -c
ghc-6.5: panic! (the 'impossible' happened)
  (GHC version 6.5 for i386-unknown-linux):
        No match in record selector Var.tcTyVarDetails

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug
Trac metadata
Trac field Value
Version 6.5
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information