[SR-14431] Global completions at top level from module only appear after import statement #56787
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
code completion
Area → source tooling: code completion
source tooling
Area: IDE support, SourceKit, and other source tooling
Additional Detail from JIRA
md5: c36ce2769619e83e1584959b0dd6ed33
duplicates:
Issue Description:
Is valid Swift code but we’re not suggesting
NSString
because the import happens after the use ofNSString
.The following variations work:
The text was updated successfully, but these errors were encountered: