[GHC] #15646: ghci takes super long time to find the type of large fractional number

GHC ghc-devs at haskell.org
Tue Jan 1 08:38:31 UTC 2019


#15646: ghci takes super long time to find the type of large fractional number
-------------------------------------+-------------------------------------
        Reporter:  Johannkokos       |                Owner:
                                     |  JulianLeviston
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  GHCi              |              Version:  8.4.3
      Resolution:                    |             Keywords:  newcomer
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  performance bug                    |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:  #5692             |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by JulianLeviston):

 Thanks os1. I did `make clean`. Then the error became:

 {{{
 libraries/base/GHC/Real.hs:839:21: error:
     Not in scope: type constructor or class ‘SourceText’
     |
 839 |   = FL { fl_text :: SourceText                 -- How the value was
 written in the source
     |                     ^^^^^^^^^^

 libraries/base/GHC/Real.hs:849:25: error:
     Not in scope: type constructor or class ‘SourceText’
     |
 849 |   | THFL { thfl_text :: SourceText -- How the value was written in
 the source
     |                         ^^^^^^^^^^
 }}}

 and a bunch more errors of a similar type... at which point you suggested
 removing `SourceText`, but that'd require rewriting all the functions, so
 ... yeah, now I believe you're looking up the ticket again and refreshing
 your brain with it :) :thx:

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


More information about the ghc-tickets mailing list