Add CPP for pre 8.6 HsOverLabel
parent
d071534cad
commit
f6dae9ed0f
|
@ -55,7 +55,11 @@ layoutExpr lexpr@(L _ expr) = do
|
|||
HsRecFld{} -> do
|
||||
-- TODO
|
||||
briDocByExactInlineOnly "HsRecFld" lexpr
|
||||
#if MIN_VERSION_ghc(8,6,0) /* ghc-8.6 */
|
||||
HsOverLabel _ext _reboundFromLabel name ->
|
||||
#else
|
||||
HsOverLabel _reboundFromLabel name ->
|
||||
#endif
|
||||
let label = FastString.unpackFS name
|
||||
in docLit . Text.pack $ '#' : label
|
||||
HsIPVar{} -> do
|
||||
|
|
Loading…
Reference in New Issue