Don't barf on 'HsSpliceTy'
authorAlec Theriault <alec.theriault@gmail.com>
Mon, 5 Feb 2018 21:45:47 +0000 (13:45 -0800)
committerSean Whitton <spwhitton@spwhitton.name>
Tue, 6 Feb 2018 21:01:18 +0000 (21:01 +0000)
commitf0acca4168e27c2233beb0d7246a357bcd996985
treeb41615c8b1e3d450755915759c611f901dd52756
parent6b04af84b686942bc3a57c9bf19012cf58e7eb80
Don't barf on 'HsSpliceTy'

This handles 'HsSpliceTy's by replacing them with what they expand to.
IIUC everything that is happening, 'renameHsSpliceTy' should not be
able to fail for the inputs we feed it from GHC.

This fixes #574.

Gbp-Pq: Name fix-hssplicety.patch
utils/haddock/haddock-api/src/Haddock/Interface/Rename.hs