[GHC] #8954: Reifying the nullary unboxed tuple is broken

#8954: Reifying the nullary unboxed tuple is broken ------------------------------------+------------------------------------- Reporter: goldfire | Owner: Type: bug | Status: new Priority: low | Milestone: Component: Template Haskell | Version: 7.8.1-rc2 Keywords: | Operating System: Unknown/Multiple Architecture: Unknown/Multiple | Type of failure: None/Unknown Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ------------------------------------+------------------------------------- Here is my code: {{{ {-# LANGUAGE TemplateHaskell, UnboxedTuples #-} module Bug where import Language.Haskell.TH $( do _ <- reify ''(##) return [] ) }}} And here is GHC's response: {{{ Can't find interface-file declaration for type constructor or class GHC.Prim.(##) 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 }}} Non-nullary unboxed tuples behave fine. This behavior is the same whether or not there is a space in the nullary unboxed tuple. Believe me -- I actually was just bit by this bug. I'm happy to fix, but could someone give me a pointer as to where the problem might be? I have the feeling someone reading this will know quite quickly. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8954 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8954: Reifying the nullary unboxed tuple is broken
-------------------------------------+------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: low | Milestone:
Component: Template Haskell | Version: 7.8.1-rc2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture: Unknown/Multiple
Type of failure: None/Unknown | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
-------------------------------------+------------------------------------
Comment (by Simon Peyton Jones

#8954: Reifying the nullary unboxed tuple is broken -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: merge Priority: low | Milestone: Component: Template Haskell | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: th/T8954 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by simonpj): * status: new => merge * testcase: => th/T8954 Comment: I did this, happily simplifying things as I went. Merge to 7.8.2, but not worth it for 7.8.1 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8954#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8954: Reifying the nullary unboxed tuple is broken -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: merge Priority: low | Milestone: 7.8.2 Component: Template Haskell | Version: 7.8.1-rc2 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: th/T8954 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * milestone: => 7.8.2 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8954#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8954: Reifying the nullary unboxed tuple is broken -------------------------------------+------------------------------------ Reporter: goldfire | Owner: Type: bug | Status: closed Priority: low | Milestone: 7.8.3 Component: Template Haskell | Version: 7.8.1-rc2 Resolution: fixed | Keywords: Operating System: Unknown/Multiple | Architecture: Unknown/Multiple Type of failure: None/Unknown | Difficulty: Unknown Test Case: th/T8954 | Blocked By: Blocking: | Related Tickets: -------------------------------------+------------------------------------ Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged to 7.8. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/8954#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC