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,251
    • Issues 4,251
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 398
    • Merge Requests 398
  • 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
  • #5351

Closed
Open
Opened Jul 27, 2011 by daniel.is.fischer@trac-daniel.is.fischer

Unexpected failure: message format changed

apirecomp001 fails unexpectedly with

Actual stderr output differs from expected:
--- ./ghc-api/apirecomp001/apirecomp001.stderr	2011-07-27 18:41:56.216000004 +0200
+++ ./ghc-api/apirecomp001/apirecomp001.run.stderr	2011-07-27 20:07:41.321000006 +0200
@@ -5,8 +5,8 @@
 
 B.hs:5:12:
     Warning: Defaulting the following constraint(s) to type `Integer'
-               (Enum a0) arising from the arithmetic sequence `1 .. 23 * 2'
-                         at B.hs:5:12-20
+               (Enum a0)
+                 arising from the arithmetic sequence `1 .. 23 * 2' at B.hs:5:12-20
                (Num a0) arising from the literal `2' at B.hs:5:19
     In the first argument of `length', namely `[1 .. 23 * 2]'
     In the first argument of `(-)', namely `length [1 .. 23 * 2]'
@@ -21,8 +21,8 @@
 
 B.hs:5:12:
     Warning: Defaulting the following constraint(s) to type `Integer'
-               (Enum a0) arising from the arithmetic sequence `1 .. 23 * 2'
-                         at B.hs:5:12-20
+               (Enum a0)
+                 arising from the arithmetic sequence `1 .. 23 * 2' at B.hs:5:12-20
                (Num a0) arising from the literal `2' at B.hs:5:19
     In the first argument of `length', namely `[1 .. 23 * 2]'
     In the first argument of `(-)', namely `length [1 .. 23 * 2]'
*** unexpected failure for apirecomp001(normal)

Perhaps the comparison between expected and actual stderr output could be made whitespace-insensitive?

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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#5351