[SR-14547] Enum cases not shown in code completion for enum with associated values conforming to Error when Foundation is imported #56899
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
code completion
Area → source tooling: code completion
found by stress tester
Flag: An issue found by the SourceKit stress tester
source tooling
Area: IDE support, SourceKit, and other source tooling
Additional Detail from JIRA
md5: cbd6b69c0813e5e16d6650fffff54986
Issue Description:
Consider the following new test case:
When completing on
COMPLETE
, we are suggestingbut not
validateStringIsNotUTF8
.When
import Foundation
is removed,validateStringIsNotUTF8
is correctly suggested and the two results mentioned above no longer show up.The text was updated successfully, but these errors were encountered: