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,323
    • Issues 4,323
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 385
    • Merge Requests 385
  • 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
  • #14285

Closed
Open
Opened Sep 27, 2017 by waldmann@imn.htwk-leipzig.de@trac-waldmann

Entered absent arg - triggered by INLINEABLE, regression from 8.0.2

Steps to reproduce:

git clone https://gitlab.imn.htwk-leipzig.de/waldmann/pure-matchbox
git checkout a2005d246cb7bd77a33bf4c09419534bc7ecd435
stack build
.stack-work/install/x86_64-linux/nightly-2017-09-26/8.2.1/bin/pure-matchbox -i -w Count data/z001.srs

Output:

pure-matchbox: Oops!  Entered absent arg ww Map k (Set k1)

Error goes away when compiling with -O0, or when removing this pragma in src/Matchbox/Pairs.hs

     52 {-# INLINEABLE pre_images #-}
     53 pre_images x rel = images x $ mirrorRel rel

(normal output starts with YES on a single line)

Error also goes away when building with 8.0.2

PATH=/where/you/have/installed/ghc-8.0.2/bin:$PATH stack build --resolver=lts-9.6

I tried to isolate a shorter test case but gave up after some hours. Is there some automation for this?

Trac metadata
Trac field Value
Version 8.2.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
Assignee
Assign to
8.2.2
Milestone
8.2.2 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: ghc/ghc#14285