mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-08 15:53:19 +00:00
The `@SinceKotlin("X.Y.Z")` annotation now hides a particular declaration from
resolution when the API version specified by the `-api-version` option is
_less_ than X.Y.Z. The comparison is performed as for versions in Maven:
MavenComparableVersion is in fact a copy of
org.apache.maven.artifact.versioning.ComparableVersion.
Also support "!API_VERSION" directive in diagnostic tests
#KT-14298 Fixed
11 lines
395 B
Plaintext
Vendored
11 lines
395 B
Plaintext
Vendored
package
|
|
|
|
@kotlin.SinceKotlin(version = "0.9") public fun ok1(): kotlin.Unit
|
|
@kotlin.SinceKotlin(version = "1.0") public fun ok2(): kotlin.Unit
|
|
@kotlin.SinceKotlin(version = "1.1") public fun ok3(): kotlin.Unit
|
|
@kotlin.SinceKotlin(version = "0.9.9") public fun ok4(): kotlin.Unit
|
|
public fun t1(): kotlin.Unit
|
|
public fun t2(): kotlin.Unit
|
|
public fun t3(): kotlin.Unit
|
|
public fun t4(): kotlin.Unit
|