Skip to content

[5.9] Tests: Fix attr_availability_maccatalyst_implicit.swift #65186

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions test/attr/attr_availability_maccatalyst_implicit.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ extension NSBaseClass {
// expected-warning@+3 {{_modify accessor cannot be more available than enclosing scope}}
// expected-note@+2 {{_modify accessor implicitly declared here with availability of Mac Catalyst 13.1 or newer}}
// expected-note@+1 {{enclosing scope requires availability of Mac Catalyst 15.0 or newer}}
var property: Int {
get { 1 }
var property: NSBaseClass {
get { self }
set {}
}
}