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
1448
-
, identInfo <-maybe[]Set.toList $Map.lookupname (getExportsMap exportsMap) -- look up the modified unknown name in the export map
1450
+
, identInfo <-maybe[]Set.toList $(lookupOccEnv (getExportsMap exportsMap) (mkVarOrDataOcc name)) <> (lookupOccEnv (getExportsMap exportsMap) (mkTypeOcc name))-- look up the modified unknown name in the export map
1449
1451
, canUseIdent thingMissing identInfo -- check if the identifier information retrieved can be used
1450
1452
, moduleNameText identInfo `notElem` fromMaybe [] notTheseModules -- check if the module of the identifier is allowed
1451
1453
, suggestion <- renderNewImport identInfo -- creates a list of import suggestions for the retrieved identifier information
0 commit comments