Skip to content

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