[GHC] #14668: Ordering of declarations can cause typechecking to fail

GHC ghc-devs at haskell.org
Tue Feb 13 00:01:00 UTC 2018


#14668: Ordering of declarations can cause typechecking to fail
-------------------------------------+-------------------------------------
        Reporter:  heptahedron       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler (Type    |              Version:  8.2.1
  checker)                           |
      Resolution:                    |             Keywords:  TypeInType
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by danilo2):

 What is even worse, this bug prevents us from refactoring the code to
 separate module, so I have to have the `Get` declaration in he same file,
 under all data definitions that are used to make instances of it.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14668#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list