File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -3947,6 +3947,7 @@ class CompletionOverrideLookup : public swift::VisibleDeclConsumer {
3947
3947
Options.setBaseType (transformType);
3948
3948
Options.PrintImplicitAttrs = false ;
3949
3949
Options.ExclusiveAttrList .push_back (TAK_escaping);
3950
+ Options.ExclusiveAttrList .push_back (TAK_autoclosure);
3950
3951
Options.PrintOverrideKeyword = false ;
3951
3952
Options.PrintPropertyAccessors = false ;
3952
3953
Options.PrintStaticKeyword = !hasStaticOrClass;
Original file line number Diff line number Diff line change @@ -566,12 +566,13 @@ class Deprecated2 : Deprecated1 {
566
566
567
567
class EscapingBase {
568
568
func method( _ x: @escaping ( @escaping ( ) -> ( ) ) -> ( ( ) -> ( ) ) ) -> ( @escaping ( @escaping ( ) -> ( ) ) -> ( ) ) { }
569
+ func autoclosure( arg: @autoclosure ( ) -> Bool ) { }
569
570
}
570
571
class Escaping : EscapingBase {
571
572
override func #^ESCAPING_1^#
572
573
}
573
574
// ESCAPING_1: Decl[InstanceMethod]/Super: method(_ x: @escaping (@escaping () -> ()) -> (() -> ())) -> ((@escaping () -> ()) -> ()) {|};
574
-
575
+ // ESCAPING_1: Decl[InstanceMethod]/Super: autoclosure(arg: @autoclosure () -> Bool) {|};
575
576
class OverrideBase {
576
577
static let staticLet = 0
577
578
static var staticVar = 0
You can’t perform that action at this time.
0 commit comments