Fix comment duplication on Matches
parent
e38836fdab
commit
9c5a490938
|
@ -263,7 +263,7 @@ layoutPatternBind funId binderDoc lmatch@(L _ match) = do
|
|||
let t' = fixPatternBindIdentifier match t
|
||||
docLit t'
|
||||
_ -> pure Nothing
|
||||
patDoc <- docHandleComms lmatch $ case (mIdDoc, patDocs) of -- TODO92 we use lmatch twice here!
|
||||
patDoc <- case (mIdDoc, patDocs) of
|
||||
(Just idDoc, p1 : p2 : pr) | isInfix -> if null pr
|
||||
then docCols
|
||||
ColPatternsFuncInfix
|
||||
|
|
Loading…
Reference in New Issue