@@ -197,7 +197,7 @@ extendImportTopLevel df idnetifier (L l it@ImportDecl {..})
197
197
top <- uniqueSrcSpanT
198
198
rdr <- liftParseAST df idnetifier
199
199
let lie = L src $ IEName rdr
200
- x = L top $ IEVar NoExtField lie
200
+ x = L top $ IEVar noExtField lie
201
201
when hasSibling $
202
202
addTrailingCommaT (last lies)
203
203
addSimpleAnnT x (DP (0 , if hasSibling then 1 else 0 )) []
@@ -224,7 +224,7 @@ extendImportViaParent df parent child (L l it@ImportDecl {..})
224
224
srcChild <- uniqueSrcSpanT
225
225
childRdr <- liftParseAST df child
226
226
let childLIE = L srcChild $ IEName childRdr
227
- x :: LIE GhcPs = L ll' $ IEThingWith NoExtField absIE NoIEWildcard [childLIE] []
227
+ x :: LIE GhcPs = L ll' $ IEThingWith noExtField absIE NoIEWildcard [childLIE] []
228
228
modifyAnnsT $ \ anns ->
229
229
let oldKey = mkAnnKey lAbs
230
230
oldValue = anns Map. ! oldKey
@@ -243,7 +243,7 @@ extendImportViaParent df parent child (L l it@ImportDecl {..})
243
243
addTrailingCommaT (last lies')
244
244
let childLIE = L srcChild $ IEName childRdr
245
245
addSimpleAnnT childRdr (DP (0 , if hasSibling then 1 else 0 )) [(G AnnVal , dp00)]
246
- return $ L l it {ideclHiding = Just (hide, L l' $ reverse pre ++ [L l'' (IEThingWith NoExtField twIE NoIEWildcard (lies' ++ [childLIE]) [] )] ++ xs)}
246
+ return $ L l it {ideclHiding = Just (hide, L l' $ reverse pre ++ [L l'' (IEThingWith noExtField twIE NoIEWildcard (lies' ++ [childLIE]) [] )] ++ xs)}
247
247
go hide l' pre (x : xs) = go hide l' (x : pre) xs
248
248
go hide l' pre []
249
249
| hasSibling <- not $ null pre = do
@@ -257,7 +257,7 @@ extendImportViaParent df parent child (L l it@ImportDecl {..})
257
257
addTrailingCommaT (head pre)
258
258
let parentLIE = L srcParent $ IEName parentRdr
259
259
childLIE = L srcChild $ IEName childRdr
260
- x :: LIE GhcPs = L l'' $ IEThingWith NoExtField parentLIE NoIEWildcard [childLIE] []
260
+ x :: LIE GhcPs = L l'' $ IEThingWith noExtField parentLIE NoIEWildcard [childLIE] []
261
261
addSimpleAnnT parentRdr (DP (0 , if hasSibling then 1 else 0 )) [(G AnnVal , DP (0 , 0 ))]
262
262
addSimpleAnnT childRdr (DP (0 , 0 )) [(G AnnVal , DP (0 , 0 ))]
263
263
addSimpleAnnT x (DP (0 , 0 )) [(G AnnOpenP , DP (0 , 1 )), (G AnnCloseP , DP (0 , 0 ))]
0 commit comments