Skip to content

toIfaceIdDetails trace statement catches PatSynBuilder

hvr reported this pprTrace message showing up during a GHC build,

[ 73 of 212] Compiling GHC.Exception    ( GHC/Exception.hs, dist/build/GHC/Exception.o )
toIfaceIdDetails [PatSynBuilder]

I believe this is due to mpickering's D1152, which introduced the PatSynBuilder constructor without handling it in toIfaceIdDetails. Given that things appear to work, I would guess we want to handle it with,

toIfaceIdDetails PatSynBuilder = IfVanillaId

but I'm not certain.

Trac metadata
Trac field Value
Version 7.11
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC hvr
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information