#4389: Unexpcted failure, ambiguous type variable defaulted (ghci)
----------------------------------+-----------------------------------------
    Reporter:  daniel.is.fischer  |       Owner:              
        Type:  bug                |      Status:  new         
    Priority:  normal             |   Component:  Test Suite  
     Version:  7.1                |    Keywords:              
    Testcase:                     |   Blockedby:              
          Os:  Unknown/Multiple   |    Blocking:              
Architecture:  Unknown/Multiple   |     Failure:  None/Unknown
----------------------------------+-----------------------------------------
 {{{
 =====> print019(ghci) 1444 of 2601 [0, 0, 0]
 cd ./ghci.debugger/scripts &&
 HC='/home/dafis/Haskell/Hacking/newghc/inplace/bin/ghc-stage2' HC_OPTS
 ='-dcore-lint -dcmm-lint -dno-debug-output -no-user-package-conf -rtsopts
 -optl-lz ' '/home/dafis/Haskell/Hacking/newghc/inplace/bin/ghc-stage2'
 --interactive -v0 -ignore-dot-ghci -dcore-lint -dcmm-lint -dno-debug-
 output -no-user-package-conf -rtsopts -optl-lz  -ignore-dot-ghci
 <print019.script >print019.run.stdout 2>print019.run.stderr
 Actual stderr output differs from expected:
 --- ./ghci.debugger/scripts/print019.stderr.normalised  2010-10-12
 20:42:15.000000000 +0200
 +++ ./ghci.debugger/scripts/print019.run.stderr.normalised  2010-10-12
 20:42:15.000000000 +0200
 @@ -1,7 +0,0 @@
 -
 -<interactive>:1:1:
 -    Ambiguous type variable `t1' in the constraint:
 -      (Show t1) arising from a use of `print'
 -    Cannot resolve unknown runtime types: t1
 -    Use :print or :force to determine these types
 -    In a stmt of an interactive GHCi command: print it
 *** unexpected failure for print019(ghci)
 }}}
 Unexpectedly, the type variable was resolved.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4389>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to