[SR-943] .self is missing from code completion results #43555
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: 52222ae093c2bea8688ca4635f501999
is duplicated by:
self
option when typing metatype instanceIssue Description:
A postfix
.self
expression should be usable on either an expression or type.Currently this postfix
self
is not reported as a Code Completion Result.To test this, use swift-ide-test. i.e.
Create a test file
self.swift
Run:
swift-ide-test -code-completion -source-filename=self.swift -code-completion-token=SELF1
swift-ide-test -code-completion -source-filename=self.swift -code-completion-token=SELF2
Note that self is missing from the both of the Code Completion Results.
The text was updated successfully, but these errors were encountered: