You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|Just name <- [T.stripPrefix (maybe"" (<>".") qual) $ notInScope thingMissing] -- strip away qualified module names from the unknown name
1449
-
, identInfo <-maybe[]Set.toList $Map.lookupname (getExportsMap exportsMap) -- look up the modified unknown name in the export map
1451
+
, identInfo <-maybe[]Set.toList $(lookupOccEnv (getExportsMap exportsMap) (mkVarOrDataOcc name)) <> (lookupOccEnv (getExportsMap exportsMap) (mkTypeOcc name))-- look up the modified unknown name in the export map
1450
1452
, canUseIdent thingMissing identInfo -- check if the identifier information retrieved can be used
1451
1453
, moduleNameText identInfo `notElem` fromMaybe [] notTheseModules -- check if the module of the identifier is allowed
1452
1454
, suggestion <- renderNewImport identInfo -- creates a list of import suggestions for the retrieved identifier information
0 commit comments