mirror of
https://github.com/apple/swift.git
synced 2026-10-02 10:58:03 +02:00
When forming an implicit NamedPattern for a computed property, use the existing pattern location rather than the location of the `var`.
16 lines
341 B
Swift
16 lines
341 B
Swift
// {"kind":"complete","original":"ae634063","signature":"abortWithVerificationError"}
|
|
// RUN: %target-swift-ide-test -code-completion -batch-code-completion -skip-filecheck -code-completion-diagnostics -source-filename %s
|
|
protocol a {
|
|
associatedtype
|
|
b:
|
|
c
|
|
d,
|
|
: {
|
|
}
|
|
}
|
|
protocol e: a {
|
|
.=
|
|
struct f {
|
|
g {
|
|
#^^#
|