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
When explicitly declaring an enum case's type in pattern matching, swift-ide-test will correctly index the enum case (.bar), but not the type itself (Foo).
Although this example is uncommon, this can happen in real projects when referencing nested enum types or inheritable types such as custom error types that inherit from `Error`.
The text was updated successfully, but these errors were encountered:
Environment
SourceKit from Xcode 9.4.1 / Xcode 10 beta 6
Additional Detail from JIRA
md5: 37fd5b11b99ef22e2a2d0a654b5305f4
Issue Description:
When explicitly declaring an enum case's type in pattern matching, swift-ide-test will correctly index the enum case (.bar), but not the type itself (Foo).
Although this example is uncommon, this can happen in real projects when referencing nested enum types or inheritable types such as custom error types that inherit from `Error`.
The text was updated successfully, but these errors were encountered: