Ticket #4389 (closed bug: fixed)

Opened 3 years ago

Last modified 3 years ago

Unexpcted failure, ambiguous type variable defaulted (ghci)

Reported by: daniel.is.fischer Owned by:
Priority: highest Milestone: 7.0.1
Component: Test Suite Version: 7.1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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

Change History

Changed 3 years ago by simonmar

  • priority changed from normal to highest
  • failure changed from None/Unknown to Incorrect result at runtime
  • milestone set to 7.0.1

we must fix this before the next RC.

Changed 3 years ago by daniel.is.fischer

break001 and break006 joined print019 in failing to fail today. Same reason.

Changed 3 years ago by simonpj

Fixed

Changed 3 years ago by simonpj

  • status changed from new to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.