We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 39c9bc8 + ae303ef commit 3e9a786Copy full SHA for 3e9a786
test/attr/attr_availability_maccatalyst_implicit.swift
@@ -16,8 +16,8 @@ extension NSBaseClass {
16
// expected-warning@+3 {{_modify accessor cannot be more available than enclosing scope}}
17
// expected-note@+2 {{_modify accessor implicitly declared here with availability of Mac Catalyst 13.1 or newer}}
18
// expected-note@+1 {{enclosing scope requires availability of Mac Catalyst 15.0 or newer}}
19
- var property: Int {
20
- get { 1 }
+ var property: NSBaseClass {
+ get { self }
21
set {}
22
}
23
0 commit comments