[GHC] #14811: Unary unboxed tuple field causes panic

#14811: Unary unboxed tuple field causes panic -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Keywords: | 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: -------------------------------------+------------------------------------- Compiling this code under 8.2 or HEAD (but not 8.0), I get an error. {{{#!hs {-# language UnboxedTuples #-} module Reccy where data Foo a = Foo (# a #) }}} {{{ Reccy.hs:1:1: error: Can't find interface-file declaration for variable GHC.Types.$tcUnit# Probable cause: bug in .hi-boot file, or inconsistent .hi file Use -ddump-if-trace to get an idea of which file caused the error | 1 | -- {-# language GADTs, TypeOperators #-} | ^ }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14811 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14811: Unary unboxed tuple field causes interface file error -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: 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: | -------------------------------------+------------------------------------- -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14811#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14811: Unary unboxed tuple field causes interface file error -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: new Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: 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: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * cc: bgamari (added) Comment: This regression was introduced in 8fa4bf9ab3f4ea4b208f4a43cc90857987e6d497 (`Type-indexed Typeable`). -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14811#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14811: Unary unboxed tuple field causes interface file error -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: patch Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: 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): Phab:D4414 Wiki Page: | -------------------------------------+------------------------------------- Changes (by RyanGlScott): * status: new => patch * differential: => Phab:D4414 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14811#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14811: Unary unboxed tuple field causes interface file error
-------------------------------------+-------------------------------------
Reporter: dfeuer | Owner: (none)
Type: bug | Status: patch
Priority: high | Milestone: 8.6.1
Component: Compiler | Version: 8.2.2
Resolution: | Keywords:
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): Phab:D4414
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by David Feuer

#14811: Unary unboxed tuple field causes interface file error -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: merge Priority: high | Milestone: 8.6.1 Component: Compiler | Version: 8.2.2 Resolution: | Keywords: 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): Phab:D4414 Wiki Page: | -------------------------------------+------------------------------------- Changes (by dfeuer): * status: patch => merge Comment: This was a fairly recent regression, and the fix is very small. It would be nice to get it merged to 8.4. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14811#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14811: Unary unboxed tuple field causes interface file error -------------------------------------+------------------------------------- Reporter: dfeuer | Owner: (none) Type: bug | Status: closed Priority: high | Milestone: 8.4.1 Component: Compiler | Version: 8.2.2 Resolution: fixed | Keywords: 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): Phab:D4414 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: merge => closed * resolution: => fixed * milestone: 8.6.1 => 8.4.1 Comment: Merged with a66ddb5599a71c31be5f95972156e86debb3c7bf. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14811#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC