Support basic form of HsBangTy
parent
7e56701bc2
commit
6008cb26ac
|
@ -982,3 +982,6 @@ instance BMGuwigoc POtfuggj where
|
|||
| USilcnhkYaraposqu (WeyOoovf (Nubwlhtjd EculdW.QaeopznkAc r))
|
||||
deriving stock (Lirylfj1, Jexr)
|
||||
deriving anyclass Qart2.Vrzxuvcf
|
||||
|
||||
#test bang-type
|
||||
data LabeledBool = LabeledBool !Int !Bool
|
||||
|
|
|
@ -370,7 +370,9 @@ layoutType ltype@(L _ typ) = docHandleComms ltype $ case typ of
|
|||
]
|
||||
)
|
||||
]
|
||||
HsBangTy{} -> -- TODO
|
||||
HsBangTy epAnn (HsSrcBang NoSourceText NoSrcUnpack SrcStrict) innerTy -> do
|
||||
docHandleComms epAnn $ docSeq [docLitS "!", layoutType innerTy]
|
||||
HsBangTy {} ->
|
||||
briDocByExactInlineOnly "HsBangTy{}" ltype
|
||||
-- HsBangTy bang typ1 -> do
|
||||
-- let bangStr = case bang of
|
||||
|
|
Loading…
Reference in New Issue