[SR-6454] autocomplete fails if
statement
#49004
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
Environment
Xcode Version 9.1 (9B55)
macOS 10.12.6
Additional Detail from JIRA
md5: 81f3b3d3a2849d3bed3c1a74a8236f25
Issue Description:
To reproduce:
Open a new playground in Xcode Version 9.1 (9B55)
Type in let object = String()
type "if" and hit tab for code completion
You don't get Swift code completion for the if statement.
By contrast, if you add a semicolon to the end of let object = String(); On the next line "if" correctly code completes.
The text was updated successfully, but these errors were encountered: