Skip to content

Lint error on master: Occurrence is GlobalId, but binding is LocalId

I'm getting this Lint error when validating 'master', when compiling PrelNames.hs with the stage1 compiler.

*** Core Lint errors : in result of Simplifier ***
<no location info>: warning:
    In the expression: Name
                         (External modu_a3Ct) (OccName dt_X6Ya dt_X6Yc) dt2_a6Yf noSrcSpan
    Occurrence is GlobalId, but binding is LocalId
      noSrcSpan :: SrcSpan
      [GblId,
       Unf=Unf{Src=<vanilla>, TopLvl=True, Value=False, ConLike=False,
               WorkFree=True, Expandable=False, Guidance=IF_ARGS [] 10 0}]

How come this got past CI?

Trac metadata
Trac field Value
Version 8.6.3
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