Skip to content

type variable out of scope core lint error when compiling attoparsec

I'm getting a core lint error when compiling attoparsec with the -dcore-lint option

*** Core Lint errors : in result of SpecConstr ***
<no location info>: warning:
    In the type ‘Buffer
                 -> Pos -> More -> a_aaPH -> IResult Text r_aaPI’
    @ a_aaPH is out of scope
*** Offending Program ***
... 57000 lines of offending program cut
*** End of Offense ***
  • attoparsec 0.13.0.2 commit 4f137347be02106765f6897059b88219c79bb86c
  • ghc 8.0.1-rc2 and also 892de051 (feb 20)
Trac metadata
Trac field Value
Version 8.0.1-rc2
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