Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 4,829
    • Issues 4,829
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 447
    • Merge requests 447
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #4394

Closed
Open
Created Oct 14, 2010 by Simon Marlow@simonmarDeveloper

IPRun failure

typecheck/should_run/IPRun is currently failing all ways:

=====> IPRun(normal) 1973 of 2622 [0, 24, 0]
cd ./typecheck/should_run && '/64playpen/simonmar/nightly/HEAD-cam-04-unx/x86_64-unknown-linux/inplace/bin/ghc-stage2' -fforce-recomp -dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts  -o IPRun IPRun.hs    >IPRun.comp.stderr 2>&1
Compile failed (status 256) errors were:
[1 of 1] Compiling Main             ( IPRun.hs, IPRun.o )

IPRun.hs:13:18:
    Ambiguous type variable `a' in the constraint:
      (Num a) arising from the literal `5'
    Probable fix: add a type signature that fixes these type variable(s)
    In the expression: 5
    In the expression: let ?x = 5 in \ () -> ?x
    In an equation for `f2': f2 () = let ?x = 5 in \ () -> ?x

IPRun.hs:24:13:
    Ambiguous type variable `a1' in the constraint:
      (Show a1) arising from a use of `print'
    Probable fix: add a type signature that fixes these type variable(s)
    In a stmt of a 'do' expression: print (f2 () ())
    In the expression:
      do { print (f0 ());
           print (f1 ());
           print (f2 () ());
           print (f3 ()) }
    In the expression:
      let ?x = 0
      in
        do { print (f0 ());
             print (f1 ());
             print (f2 () ());
             .... }

*** unexpected failure for IPRun(normal)
Trac metadata
Trac field Value
Version 6.12.3
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler (Type checker)
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
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