Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,347
    • Issues 5,347
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 568
    • Merge requests 568
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #7321
Closed
Open
Issue created Oct 12, 2012 by Simon Peyton Jones@simonpjDeveloper

Compiler hangs when reading interface file

Jeroen Weijers reports: I have two files Data.hs and Class.hs (Class depends on Data). When I compile Class.hs (ghc --make Class.hs) the ghc does what it should do. When I now make a change to Class.hs (add a newline to the end of the file for example) and try to run ghc --make Class.hs again the ghc gets stuck on recompiling Class.hs.

module Class where
  import Data
  foo :: Exp a
  foo = error "urk"

{-# LANGUAGE GADTs #-}
module Data where
  data Exp a where
     LamE :: (Exp a -> Exp b) -> Exp (Exp a -> Exp b)
Trac metadata
Trac field Value
Version 7.6.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC jeroenweijers@gmail.com
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking