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,262
    • Issues 4,262
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 419
    • Merge Requests 419
  • 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
  • #6067

Closed
Open
Opened May 01, 2012 by Simon Marlow@simonmarDeveloper

regression: cgrun051(ghci) failing in HEAD

=====> cgrun051(ghci) 46 of 79 [0, 0, 0]
cd . && '/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  -fno-ghci-history cgrun051.hs --interactive -v0 -ignore-dot-ghci +RTS -I0.1 -RTS   <cgrun051.genscript 1>cgrun051.interp.stdout 2>cgrun051.interp.stderr
Actual stderr output differs from expected:
--- ./cgrun051.stderr   2012-04-30 18:02:44.638862376 +0100
+++ ./cgrun051.run.stderr       2012-05-01 11:19:15.808880452 +0100
@@ -1 +1 @@
-cgrun051: OK
+cgrun051: Impossible case alternative
*** unexpected failure for cgrun051(ghci)

The code is very simple. For some reason the simplifier is replacing the error "OK" with runtimeError "Impossible case alternative", but only in GHCi.

Trac metadata
Trac field Value
Version 7.5
Type Bug
TypeOfFailure OtherFailure
Priority highest
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
7.6.1
Milestone
7.6.1
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#6067