File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change 80
80
// RUN: %FileCheck %s -check-prefix=NO_CONSTRUCTORS < %t.super.txt
81
81
82
82
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=CLASS_FUNC_SUPER_NODOT > %t.super.txt
83
- // RUN: %FileCheck %s -check-prefix=CLASS_FUNC_SUPER_NODOT < %t.super.txt
83
+ // RUN: %FileCheck %s -check-prefix=CLASS_FUNC_SUPER < %t.super.txt
84
84
85
+ // RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=CLASS_FUNC_SUPER_DOT > %t.super.txt
86
+ // RUN: %FileCheck %s -check-prefix=CLASS_FUNC_SUPER < %t.super.txt
85
87
86
88
// RUN: %target-swift-ide-test -code-completion -source-filename %s -code-completion-token=SEMANTIC_CONTEXT_OVERRIDDEN_DECL_1 > %t.super.txt
87
89
// RUN: %FileCheck %s -check-prefix=SEMANTIC_CONTEXT_OVERRIDDEN_DECL_1 < %t.super.txt
@@ -440,11 +442,16 @@ class SuperDerivedB : SuperBaseB {
440
442
441
443
class func test3( ) {
442
444
super#^CLASS_FUNC_SUPER_NODOT^#
445
+ }
446
+ class func test4( ) {
447
+ super. #^CLASS_FUNC_SUPER_DOT^#
448
+ }
449
+ class func test5( ) {
443
450
super( #^CLASS_FUNC_SUPER_PAREN^#
444
-
445
- // CLASS_FUNC_SUPER_NODOT : Decl[Constructor]/CurrNominal: .init()[#SuperBaseB#]
446
- // CLASS_FUNC_SUPER_NODOT : Decl[Constructor]/CurrNominal: .init({#a: Double#})[#SuperBaseB#]
447
- // CLASS_FUNC_SUPER_NODOT : Decl[Constructor]/CurrNominal: .init({#int: Int#})[#SuperBaseB#]
451
+ }
452
+ // CLASS_FUNC_SUPER : Decl[Constructor]/CurrNominal: {{ .init|init}} ()[#SuperBaseB#]
453
+ // CLASS_FUNC_SUPER : Decl[Constructor]/CurrNominal: {{ .init|init}} ({#a: Double#})[#SuperBaseB#]
454
+ // CLASS_FUNC_SUPER : Decl[Constructor]/CurrNominal: {{ .init|init}} ({#int: Int#})[#SuperBaseB#]
448
455
}
449
456
}
450
457
You can’t perform that action at this time.
0 commit comments