75
75
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=IN_TUPLE_1 | %FileCheck %s -check-prefix=IN_TUPLE_1
76
76
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=IN_TUPLE_2 | %FileCheck %s -check-prefix=IN_TUPLE_2
77
77
78
- // RUN-FIXME(rdar56755598) : %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_1 | %FileCheck %s -check-prefix=OWN_INIT_1
79
- // RUN-FIXME(rdar56755598) : %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_2 | %FileCheck %s -check-prefix=OWN_INIT_2
78
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_1 | %FileCheck %s -check-prefix=OWN_INIT_1
79
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_2 | %FileCheck %s -check-prefix=OWN_INIT_2
80
80
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_3 | %FileCheck %s -check-prefix=OWN_INIT_3
81
81
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_4 | %FileCheck %s -check-prefix=OWN_INIT_4
82
82
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_5 | %FileCheck %s -check-prefix=OWN_INIT_5
83
83
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_6 | %FileCheck %s -check-prefix=OWN_INIT_6
84
84
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_7 | %FileCheck %s -check-prefix=OWN_INIT_7
85
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_8 | %FileCheck %s -check-prefix=OWN_INIT_8
86
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_9 | %FileCheck %s -check-prefix=OWN_INIT_9
87
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_10 | %FileCheck %s -check-prefix=OWN_INIT_10
88
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_11 | %FileCheck %s -check-prefix=OWN_INIT_11
89
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_INIT_12 | %FileCheck %s -check-prefix=OWN_INIT_12
85
90
86
91
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_ACCESSOR_1 | %FileCheck %s -check-prefix=OWN_ACCESSOR_1
87
92
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=OWN_ACCESSOR_2 | %FileCheck %s -check-prefix=OWN_ACCESSOR_2
@@ -584,13 +589,19 @@ func sync() {}
584
589
var ownInit2: () -> Void = { #^OWN_INIT_2^# }
585
590
// OWN_INIT_2: Begin completions
586
591
// OWN_INIT_2-NOT: ownInit2
592
+ var ownInit8: Int = " \( #^OWN_INIT_8^#) "
593
+ // OWN_INIT_8: Begin completions
594
+ // OWN_INIT_8-NOT: ownInit8
587
595
struct OwnInitTester {
588
596
var ownInit3: Int = #^OWN_INIT_3^#
589
597
// OWN_INIT_3: Begin completions
590
598
// OWN_INIT_3-NOT: ownInit3
591
599
var ownInit4: () -> Void = { #^OWN_INIT_4^# }
592
600
// OWN_INIT_4: Begin completions
593
601
// OWN_INIT_4-NOT: ownInit4
602
+ var ownInit9: String = " \( #^OWN_INIT_9^#) "
603
+ // OWN_INIT_9: Begin completions
604
+ // OWN_INIT_9-NOT: ownInit9
594
605
}
595
606
func ownInitTesting() {
596
607
var ownInit5: Int = #^OWN_INIT_5^#
@@ -599,6 +610,17 @@ func ownInitTesting() {
599
610
var ownInit6: () -> Void = { #^OWN_INIT_6^# }
600
611
// OWN_INIT_6: Begin completions
601
612
// OWN_INIT_6-NOT: ownInit6
613
+ var ownInit10: String = " \( #^OWN_INIT_10^#) "
614
+ // OWN_INIT_10: Begin completions
615
+ // OWN_INIT_10-NOT: ownInit10
616
+ }
617
+ func ownInitTestingParam(ownInit11: Int = #^OWN_INIT_11^#) {
618
+ // OWN_INIT_11: Begin completions
619
+ // OWN_INIT_11-NOT: Decl[LocalVar]{{.*}}ownInit11
620
+ }
621
+ func ownInitTestingParamInterp(ownInit12: String = " \( #^OWN_INIT_12^#) " ) {
622
+ // OWN_INIT_12: Begin completions
623
+ // OWN_INIT_12-NOT: Decl[LocalVar]{{.*}}ownInit12
602
624
}
603
625
func ownInitTestingShadow(ownInit7: Int) {
604
626
var ownInit7: Int = #^OWN_INIT_7^#
0 commit comments