Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
GHC
GHC
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 4,322
    • Issues 4,322
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 362
    • Merge Requests 362
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Glasgow Haskell Compiler
  • GHCGHC
  • Issues
  • #4389

Closed
Open
Opened Oct 12, 2010 by daniel.is.fischer@trac-daniel.is.fischer

Unexpcted failure, ambiguous type variable defaulted (ghci)

=====> 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.

Trac metadata
Trac field Value
Version 7.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Test Suite
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
7.0.1
Milestone
7.0.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#4389