35 lines
551 B
Plaintext
35 lines
551 B
Plaintext
== Why is this an issue?
|
|
|
|
include::../description.adoc[]
|
|
|
|
=== Noncompliant code example
|
|
|
|
[source,swift]
|
|
----
|
|
public class Foo {
|
|
|
|
@availability(*, deprecated=1.1) // Noncompliant
|
|
public func bar() {
|
|
}
|
|
|
|
@availability(*, obsoleted=1.1) // Noncompliant
|
|
public func baz() {
|
|
}
|
|
}
|
|
----
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::../message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::../comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|