Skip to content

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
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information