Fix tests
This commit is contained in:
@@ -2,7 +2,7 @@ package
|
||||
|
||||
internal final class Annotated {
|
||||
public constructor Annotated(/*0*/ ann() x: kotlin.Int)
|
||||
ann() internal final val x: kotlin.Int
|
||||
internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+2
-2
@@ -6,8 +6,8 @@ package a {
|
||||
|
||||
internal final class Test {
|
||||
public constructor Test(/*0*/ java.lang.Deprecated() s: kotlin.String, /*1*/ java.lang.SuppressWarnings(value = {}) x: kotlin.Int)
|
||||
java.lang.Deprecated() internal final val s: kotlin.String
|
||||
java.lang.SuppressWarnings(value = {}) internal final val x: kotlin.Int
|
||||
internal final val s: kotlin.String
|
||||
internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
kotlin.annotation.annotation() internal final class RecursivelyAnnotated : kotlin.Annotation {
|
||||
public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = 1) x: kotlin.Int)
|
||||
RecursivelyAnnotated(x = 1) internal final val x: kotlin.Int
|
||||
internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
kotlin.annotation.annotation() internal final class RecursivelyAnnotated : kotlin.Annotation {
|
||||
public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = 1) x: kotlin.Int)
|
||||
RecursivelyAnnotated(x = 1) internal final val x: kotlin.Int
|
||||
internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
internal final class RecursivelyAnnotated {
|
||||
public constructor RecursivelyAnnotated(/*0*/ RecursivelyAnnotated(x = 1) x: kotlin.Int)
|
||||
RecursivelyAnnotated(x = 1) internal final val x: kotlin.Int
|
||||
internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+3
-3
@@ -8,9 +8,9 @@ target(AnnotationTarget.FUNCTION)
|
||||
annotation class base
|
||||
|
||||
class My(x: Int) {
|
||||
<!WRONG_ANNOTATION_TARGET!>smartget<!> var y = x
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> @smartget <!WRONG_ANNOTATION_TARGET!>@smartset<!> get
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@smartget<!> @smartset set
|
||||
smartget var y = x
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> @smartget <!WRONG_ANNOTATION_TARGET!>@smartset<!> get
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@smartget<!> @smartset set
|
||||
|
||||
base <!WRONG_ANNOTATION_TARGET!>smartget<!> <!WRONG_ANNOTATION_TARGET!>smartset<!> fun foo() = y
|
||||
}
|
||||
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
internal final class My {
|
||||
public constructor My(/*0*/ x: kotlin.Int)
|
||||
smartget() internal final var y: kotlin.Int
|
||||
internal final var y: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
base() smartget() smartset() internal final fun foo(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.ANNOTATION_CLASS}) k
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.CLASSIFIER}) kotlin.
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int, /*1*/ base() w: @[base()] kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int, /*1*/ base() w: @[base()] kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.CONSTRUCTOR}) kotlin
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -24,7 +24,7 @@ empty() internal final enum class My : kotlin.Enum<My> {
|
||||
|
||||
empty() internal final class correct {
|
||||
empty() public constructor correct()
|
||||
public constructor correct(/*0*/ empty() x: kotlin.Int, /*1*/ empty() w: @[empty()] kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int, /*1*/ empty() w: @[empty()] kotlin.Int)
|
||||
empty() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -8,7 +8,7 @@ annotation class common
|
||||
|
||||
// FILE: other.kt
|
||||
|
||||
@file:special
|
||||
@file:special
|
||||
|
||||
package test
|
||||
|
||||
@@ -16,8 +16,8 @@ package test
|
||||
|
||||
// FILE: another.kt
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@file:common<!>
|
||||
<!WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@file:common<!>
|
||||
|
||||
package test
|
||||
|
||||
common class Correct
|
||||
common class Correct
|
||||
+1
-1
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.FUNCTION}) kotlin.an
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
base() public final fun baz(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ incorrect() internal final enum class My : kotlin.Enum<My> {
|
||||
|
||||
incorrect() internal final class correct {
|
||||
incorrect() public constructor correct()
|
||||
public constructor correct(/*0*/ incorrect() x: kotlin.Int, /*1*/ incorrect() w: @[incorrect()] kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int, /*1*/ incorrect() w: @[incorrect()] kotlin.Int)
|
||||
incorrect() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -21,7 +21,7 @@ public class AnnotationTargets {
|
||||
}
|
||||
|
||||
@Target(ElementType.FIELD)
|
||||
public @interface field {
|
||||
public @interface fieldann {
|
||||
|
||||
}
|
||||
|
||||
@@ -62,18 +62,18 @@ import test.AnnotationTargets.*
|
||||
base meta type <!WRONG_ANNOTATION_TARGET!>konstructor<!> annotation class KMeta
|
||||
|
||||
base <!WRONG_ANNOTATION_TARGET!>meta<!> type <!WRONG_ANNOTATION_TARGET!>method<!> <!WRONG_ANNOTATION_TARGET!>multiple<!> class KClass(
|
||||
@base @field <!WRONG_ANNOTATION_TARGET!>@parameter<!> val y:
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@type<!> Int) {
|
||||
@base @fieldann @parameter val y:
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@type<!> Int) {
|
||||
|
||||
base multiple fieldann <!WRONG_ANNOTATION_TARGET!>local<!> val x = 0
|
||||
@method <!WRONG_ANNOTATION_TARGET!>@konstructor<!> <!WRONG_ANNOTATION_TARGET!>@type<!> get
|
||||
|
||||
base multiple field <!WRONG_ANNOTATION_TARGET!>local<!> val x = 0
|
||||
@method <!WRONG_ANNOTATION_TARGET!>@konstructor<!> <!WRONG_ANNOTATION_TARGET!>@type<!> get
|
||||
|
||||
base method multiple <!WRONG_ANNOTATION_TARGET!>konstructor<!>
|
||||
fun foo(@parameter <!WRONG_ANNOTATION_TARGET!>@type<!> i:
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@multiple<!> Int
|
||||
): <!WRONG_ANNOTATION_TARGET!>@field<!> <!WRONG_ANNOTATION_TARGET!>@parameter<!> Int {
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@multiple<!> Int
|
||||
): <!WRONG_ANNOTATION_TARGET!>@fieldann<!> <!WRONG_ANNOTATION_TARGET!>@parameter<!> Int {
|
||||
|
||||
@local @base <!WRONG_ANNOTATION_TARGET!>@multiple<!> <!WRONG_ANNOTATION_TARGET!>@field<!> val j = i + 1
|
||||
@local @base <!WRONG_ANNOTATION_TARGET!>@multiple<!> <!WRONG_ANNOTATION_TARGET!>@fieldann<!> val j = i + 1
|
||||
<!WRONG_ANNOTATION_TARGET!>@base<!> <!WRONG_ANNOTATION_TARGET!>@multiple<!> return j
|
||||
}
|
||||
|
||||
|
||||
@@ -15,8 +15,8 @@ package test {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
kotlin.annotation.target(allowedTargets = {AnnotationTarget.FIELD}) public final class field : kotlin.Annotation {
|
||||
public constructor field()
|
||||
kotlin.annotation.target(allowedTargets = {AnnotationTarget.FIELD}) public final class fieldann : kotlin.Annotation {
|
||||
public constructor fieldann()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
@@ -74,11 +74,11 @@ package test {
|
||||
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.meta() test.AnnotationTargets.type() test.AnnotationTargets.method() test.AnnotationTargets.multiple() internal final class KClass {
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.method() test.AnnotationTargets.konstructor() public constructor KClass()
|
||||
public constructor KClass(/*0*/ test.AnnotationTargets.base() test.AnnotationTargets.field() test.AnnotationTargets.parameter() y: @[test.AnnotationTargets.base() test.AnnotationTargets.type()] kotlin.Int)
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.multiple() test.AnnotationTargets.field() test.AnnotationTargets.local() internal final val x: kotlin.Int = 0
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.field() test.AnnotationTargets.parameter() internal final val y: @[test.AnnotationTargets.base() test.AnnotationTargets.type()] kotlin.Int
|
||||
public constructor KClass(/*0*/ test.AnnotationTargets.base() test.AnnotationTargets.parameter() y: @[test.AnnotationTargets.base() test.AnnotationTargets.type()] kotlin.Int)
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.multiple() test.AnnotationTargets.fieldann() test.AnnotationTargets.local() internal final val x: kotlin.Int = 0
|
||||
test.AnnotationTargets.fieldann() internal final val y: @[test.AnnotationTargets.base() test.AnnotationTargets.type()] kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.method() test.AnnotationTargets.multiple() test.AnnotationTargets.konstructor() internal final fun foo(/*0*/ test.AnnotationTargets.parameter() test.AnnotationTargets.type() i: @[test.AnnotationTargets.base() test.AnnotationTargets.multiple()] kotlin.Int): @[test.AnnotationTargets.field() test.AnnotationTargets.parameter()] kotlin.Int
|
||||
test.AnnotationTargets.base() test.AnnotationTargets.method() test.AnnotationTargets.multiple() test.AnnotationTargets.konstructor() internal final fun foo(/*0*/ test.AnnotationTargets.parameter() test.AnnotationTargets.type() i: @[test.AnnotationTargets.base() test.AnnotationTargets.multiple()] kotlin.Int): @[test.AnnotationTargets.fieldann() test.AnnotationTargets.parameter()] kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.LOCAL_VARIABLE}) kot
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.PROPERTY}) kotlin.an
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int, /*1*/ base() w: kotlin.Int)
|
||||
public constructor correct(/*0*/ x: kotlin.Int, /*1*/ base() w: kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -31,7 +31,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.TYPE}) kotlin.annota
|
||||
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: @[base()] kotlin.Int)
|
||||
public constructor correct(/*0*/ x: @[base()] kotlin.Int)
|
||||
base() internal final val x: @[base()] kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ target(AnnotationTarget.VALUE_PARAMETER) annotation class base
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>base<!> annotation class derived
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>base<!> class correct(<!WRONG_ANNOTATION_TARGET!>base<!> val x: Int, base w: Int) {
|
||||
<!WRONG_ANNOTATION_TARGET!>base<!> class correct(base val x: Int, base w: Int) {
|
||||
<!WRONG_ANNOTATION_TARGET!>base<!> constructor(): this(0, 0)
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ kotlin.annotation.target(allowedTargets = {AnnotationTarget.VALUE_PARAMETER}) ko
|
||||
base() internal final class correct {
|
||||
base() public constructor correct()
|
||||
public constructor correct(/*0*/ base() x: kotlin.Int, /*1*/ base() w: kotlin.Int)
|
||||
base() internal final val x: kotlin.Int
|
||||
internal final val x: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+6
-6
@@ -4,10 +4,10 @@ class CustomDelegate {
|
||||
public fun get(thisRef: Any?, prop: PropertyMetadata): String = prop.name
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_FIELD_TARGET, WRONG_ANNOTATION_TARGET!>@field:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@field:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_FIELD_TARGET, WRONG_ANNOTATION_TARGET!>@field:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@field:Ann<!>
|
||||
constructor()
|
||||
|
||||
@field:Ann
|
||||
@@ -23,12 +23,12 @@ class SomeClass {
|
||||
val propertyWithCustomGetter: Int
|
||||
get() = 5
|
||||
|
||||
<!INAPPLICABLE_FIELD_TARGET, WRONG_ANNOTATION_TARGET!>@field:Ann<!>
|
||||
fun anotherFun(<!INAPPLICABLE_FIELD_TARGET!>@field:Ann<!> <!UNUSED_PARAMETER!>s<!>: String) {
|
||||
<!INAPPLICABLE_FIELD_TARGET!>@field:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@field:Ann<!>
|
||||
fun anotherFun(<!INAPPLICABLE_TARGET_ON_PROPERTY!>@field:Ann<!> <!UNUSED_PARAMETER!>s<!>: String) {
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY!>@field:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class WithPrimaryConstructor(<!INAPPLICABLE_FIELD_TARGET!>@field:Ann<!> val a: String)
|
||||
class WithPrimaryConstructor(@field:Ann val a: String)
|
||||
+1
-1
@@ -28,7 +28,7 @@ internal final class CustomDelegate {
|
||||
}
|
||||
|
||||
internal final class WithPrimaryConstructor {
|
||||
public constructor WithPrimaryConstructor(/*0*/ @field:Ann() a: kotlin.String)
|
||||
public constructor WithPrimaryConstructor(/*0*/ a: kotlin.String)
|
||||
@field:Ann() internal final val a: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+4
-4
@@ -4,10 +4,10 @@ class CustomDelegate {
|
||||
public fun get(thisRef: Any?, prop: PropertyMetadata): String = prop.name
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_GET_TARGET, WRONG_ANNOTATION_TARGET!>@get:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@get:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_GET_TARGET, WRONG_ANNOTATION_TARGET!>@get:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@get:Ann<!>
|
||||
constructor()
|
||||
|
||||
@get:Ann
|
||||
@@ -26,11 +26,11 @@ class SomeClass {
|
||||
val propertyWithCustomGetter: Int
|
||||
get() = 5
|
||||
|
||||
<!INAPPLICABLE_GET_TARGET, WRONG_ANNOTATION_TARGET!>@get:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@get:Ann<!>
|
||||
fun annotationOnFunction(a: Int) = a + 5
|
||||
|
||||
fun anotherFun() {
|
||||
<!INAPPLICABLE_GET_TARGET!>@get:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY!>@get:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -17,11 +17,11 @@ internal final class CustomDelegate {
|
||||
|
||||
@get:Ann() internal final class SomeClass {
|
||||
@get:Ann() public constructor SomeClass()
|
||||
@get:Ann() protected final val delegatedProperty: kotlin.String
|
||||
@get:Ann() protected final var mutableProperty: kotlin.String
|
||||
@get:Ann() internal final val propertyWithCustomGetter: kotlin.Int
|
||||
@get:Ann() protected final val simpleProperty: kotlin.String = "text"
|
||||
@get:Ann() protected final val simplePropertyWithAnnotationList: kotlin.String = "text"
|
||||
protected final val delegatedProperty: kotlin.String
|
||||
protected final var mutableProperty: kotlin.String
|
||||
internal final val propertyWithCustomGetter: kotlin.Int
|
||||
protected final val simpleProperty: kotlin.String = "text"
|
||||
protected final val simplePropertyWithAnnotationList: kotlin.String = "text"
|
||||
@get:Ann() internal final fun annotationOnFunction(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
internal final fun anotherFun(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
|
||||
+9
-9
@@ -1,24 +1,24 @@
|
||||
annotation class Ann
|
||||
annotation class Second
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET, WRONG_ANNOTATION_TARGET!>@param:Ann<!>
|
||||
<!INAPPLICABLE_PARAM_TARGET, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@param:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET, WRONG_ANNOTATION_TARGET!>@param:Ann<!>
|
||||
constructor(<!INAPPLICABLE_SPARAM_TARGET!>@param:Ann<!> <!UNUSED_PARAMETER!>a<!>: String)
|
||||
<!INAPPLICABLE_PARAM_TARGET, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@param:Ann<!>
|
||||
constructor(<!INAPPLICABLE_PARAM_TARGET!>@param:Ann<!> <!UNUSED_PARAMETER!>a<!>: String)
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET!>@param:Ann<!>
|
||||
<!INAPPLICABLE_PARAM_TARGET!>@param:Ann<!>
|
||||
protected val simpleProperty: String = "text"
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET!>@param:Ann<!>
|
||||
<!INAPPLICABLE_PARAM_TARGET!>@param:Ann<!>
|
||||
fun anotherFun() {
|
||||
<!INAPPLICABLE_SPARAM_TARGET!>@param:Ann<!>
|
||||
<!INAPPLICABLE_PARAM_TARGET!>@param:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class PrimaryConstructorClass(
|
||||
@param:Ann <!UNUSED_PARAMETER!>a<!>: String,
|
||||
@param:[Ann Second] <!UNUSED_PARAMETER!>b<!>: String,
|
||||
@param:Ann val <!UNUSED_PARAMETER!>c<!>: String)
|
||||
<!REDUNDANT_ANNOTATION_TARGET!>@param:Ann<!> <!UNUSED_PARAMETER!>a<!>: String,
|
||||
@param:[<!REDUNDANT_ANNOTATION_TARGET!>Ann<!> <!REDUNDANT_ANNOTATION_TARGET!>Second<!>] <!UNUSED_PARAMETER!>b<!>: String,
|
||||
@param:Ann val c: String)
|
||||
+2
-1
@@ -8,7 +8,8 @@ kotlin.annotation.annotation() internal final class Ann : kotlin.Annotation {
|
||||
}
|
||||
|
||||
internal final class PrimaryConstructorClass {
|
||||
public constructor PrimaryConstructorClass(/*0*/ @param:Ann() a: kotlin.String, /*1*/ @param:Ann() @param:Second() b: kotlin.String)
|
||||
public constructor PrimaryConstructorClass(/*0*/ @param:Ann() a: kotlin.String, /*1*/ @param:Ann() @param:Second() b: kotlin.String, /*2*/ @param:Ann() c: kotlin.String)
|
||||
internal final val c: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+4
-4
@@ -5,10 +5,10 @@ class CustomDelegate {
|
||||
public fun get(thisRef: Any?, prop: PropertyMetadata): String = prop.name
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_PROPERTY_TARGET, WRONG_ANNOTATION_TARGET!>@property:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@property:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_PROPERTY_TARGET, WRONG_ANNOTATION_TARGET!>@property:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@property:Ann<!>
|
||||
constructor(<!UNUSED_PARAMETER!>s<!>: String)
|
||||
|
||||
@property:Ann
|
||||
@@ -28,9 +28,9 @@ class SomeClass {
|
||||
get() = 5
|
||||
set(v) {}
|
||||
|
||||
<!INAPPLICABLE_PROPERTY_TARGET, WRONG_ANNOTATION_TARGET!>@property:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@property:Ann<!>
|
||||
fun anotherFun() {
|
||||
<!INAPPLICABLE_PROPERTY_TARGET, WRONG_ANNOTATION_TARGET!>@property:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY!>@property:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
|
||||
+5
-8
@@ -1,9 +1,9 @@
|
||||
annotation class Ann
|
||||
|
||||
<!INAPPLICABLE_RECEIVER_TARGET, WRONG_ANNOTATION_TARGET!>@receiver:Ann<!>
|
||||
<!INAPPLICABLE_RECEIVER_TARGET, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@receiver:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_RECEIVER_TARGET, WRONG_ANNOTATION_TARGET!>@receiver:Ann<!>
|
||||
<!INAPPLICABLE_RECEIVER_TARGET, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@receiver:Ann<!>
|
||||
constructor(<!INAPPLICABLE_RECEIVER_TARGET!>@receiver:Ann<!> <!UNUSED_PARAMETER!>a<!>: String)
|
||||
|
||||
<!INAPPLICABLE_RECEIVER_TARGET!>@receiver:Ann<!>
|
||||
@@ -15,14 +15,11 @@ class SomeClass {
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
@receiver:Ann
|
||||
val String.extensionProperty2: String
|
||||
val @receiver:Ann String.extensionProperty2: String
|
||||
get() = "A"
|
||||
}
|
||||
|
||||
@receiver:Ann
|
||||
fun String.length2() = length()
|
||||
fun @receiver:Ann String.length2() = length()
|
||||
|
||||
@receiver:Ann
|
||||
val String.extensionProperty: String
|
||||
val @receiver:Ann String.extensionProperty: String
|
||||
get() = "A"
|
||||
+3
-2
@@ -1,7 +1,7 @@
|
||||
package
|
||||
|
||||
@receiver:Ann() internal val kotlin.String.extensionProperty: kotlin.String
|
||||
@receiver:Ann() internal fun kotlin.String.length2(): kotlin.Int
|
||||
internal val @receiver:Ann() kotlin.String.extensionProperty: kotlin.String
|
||||
internal fun @receiver:Ann() kotlin.String.length2(): kotlin.Int
|
||||
|
||||
kotlin.annotation.annotation() internal final class Ann : kotlin.Annotation {
|
||||
public constructor Ann()
|
||||
@@ -13,6 +13,7 @@ kotlin.annotation.annotation() internal final class Ann : kotlin.Annotation {
|
||||
@receiver:Ann() internal final class SomeClass {
|
||||
@receiver:Ann() public constructor SomeClass(/*0*/ @receiver:Ann() a: kotlin.String)
|
||||
@receiver:Ann() protected final val simpleProperty: kotlin.String = "text"
|
||||
internal final val @receiver:Ann() kotlin.String.extensionProperty2: kotlin.String
|
||||
@receiver:Ann() internal final fun anotherFun(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+3
-3
@@ -5,7 +5,7 @@ class CustomDelegate {
|
||||
fun set(thisRef: Any?, prop: PropertyMetadata, value: String) {}
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_SET_TARGET, WRONG_ANNOTATION_TARGET!>@set:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@set:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@set:Ann<!>
|
||||
@@ -25,11 +25,11 @@ class SomeClass {
|
||||
get() = 5
|
||||
set(v) {}
|
||||
|
||||
<!INAPPLICABLE_SET_TARGET, WRONG_ANNOTATION_TARGET!>@set:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@set:Ann<!>
|
||||
fun annotationOnFunction(a: Int) = a + 5
|
||||
|
||||
fun anotherFun() {
|
||||
<!INAPPLICABLE_SET_TARGET!>@set:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY!>@set:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -18,10 +18,10 @@ internal final class CustomDelegate {
|
||||
|
||||
@set:Ann() internal final class SomeClass {
|
||||
public constructor SomeClass()
|
||||
@set:Ann() protected final var delegatedProperty: kotlin.String
|
||||
@set:Ann() protected final var mutableProperty: kotlin.String
|
||||
@set:Ann() protected final var mutablePropertyWithAnnotationList: kotlin.String
|
||||
@set:Ann() internal final var propertyWithCustomSetter: kotlin.Int
|
||||
protected final var delegatedProperty: kotlin.String
|
||||
protected final var mutableProperty: kotlin.String
|
||||
protected final var mutablePropertyWithAnnotationList: kotlin.String
|
||||
internal final var propertyWithCustomSetter: kotlin.Int
|
||||
@set:Ann() protected final val simpleProperty: kotlin.String = "text"
|
||||
@set:Ann() internal final fun annotationOnFunction(/*0*/ a: kotlin.Int): kotlin.Int
|
||||
internal final fun anotherFun(): kotlin.Unit
|
||||
|
||||
+4
-4
@@ -5,10 +5,10 @@ class CustomDelegate {
|
||||
fun set(thisRef: Any?, prop: PropertyMetadata, value: String) {}
|
||||
}
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET, WRONG_ANNOTATION_TARGET!>@sparam:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@sparam:Ann<!>
|
||||
class SomeClass {
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET, WRONG_ANNOTATION_TARGET!>@sparam:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY, WRONG_ANNOTATION_TARGET_WITH_USE_SITE_TARGET!>@sparam:Ann<!>
|
||||
constructor()
|
||||
|
||||
<!INAPPLICABLE_TARGET_PROPERTY_IMMUTABLE!>@sparam:Ann<!>
|
||||
@@ -28,9 +28,9 @@ class SomeClass {
|
||||
get() = 5
|
||||
set(v) {}
|
||||
|
||||
<!INAPPLICABLE_SPARAM_TARGET!>@sparam:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY!>@sparam:Ann<!>
|
||||
fun anotherFun() {
|
||||
<!INAPPLICABLE_SPARAM_TARGET!>@sparam:Ann<!>
|
||||
<!INAPPLICABLE_TARGET_ON_PROPERTY!>@sparam:Ann<!>
|
||||
val <!UNUSED_VARIABLE!>localVariable<!> = 5
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
annotation(repeatable = true) class RepeatableAnn
|
||||
annotation(repeatable = true, retention = AnnotationRetention.SOURCE) class RepeatableAnn
|
||||
annotation class Ann
|
||||
|
||||
public class A(@param:Ann <!REPEATED_ANNOTATION!>@Ann<!> val x: Int, @param: RepeatableAnn @Ann val y: Int) {
|
||||
|
||||
+6
-6
@@ -1,11 +1,11 @@
|
||||
package
|
||||
|
||||
public final class A {
|
||||
public constructor A(/*0*/ Ann() Ann() x: kotlin.Int, /*1*/ RepeatableAnn() Ann() y: kotlin.Int)
|
||||
Ann() RepeatableAnn() Ann() RepeatableAnn() internal final val a: kotlin.Int = 0
|
||||
Ann() Ann() Ann() internal final val b: kotlin.Int = 0
|
||||
RepeatableAnn() RepeatableAnn() internal final val c: kotlin.Int = 0
|
||||
RepeatableAnn() RepeatableAnn() internal final val d: kotlin.Int = 0
|
||||
public constructor A(/*0*/ @param:Ann() Ann() x: kotlin.Int, /*1*/ @param:RepeatableAnn() Ann() y: kotlin.Int)
|
||||
@property:Ann() @property:RepeatableAnn() @field:Ann() RepeatableAnn() internal final val a: kotlin.Int = 0
|
||||
@property:Ann() Ann() @field:Ann() internal final val b: kotlin.Int = 0
|
||||
@field:RepeatableAnn() @field:RepeatableAnn() internal final val c: kotlin.Int = 0
|
||||
@property:RepeatableAnn() RepeatableAnn() internal final val d: kotlin.Int = 0
|
||||
internal final val x: kotlin.Int
|
||||
internal final val y: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
@@ -20,7 +20,7 @@ kotlin.annotation.annotation() internal final class Ann : kotlin.Annotation {
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation(repeatable = true) internal final class RepeatableAnn : kotlin.Annotation {
|
||||
kotlin.annotation.annotation(repeatable = true, retention = AnnotationRetention.SOURCE) internal final class RepeatableAnn : kotlin.Annotation {
|
||||
public constructor RepeatableAnn()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
target(AnnotationTarget.TYPE, AnnotationTarget.FUNCTION)
|
||||
annotation class a
|
||||
interface A
|
||||
interface B
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@ internal final class Outer {
|
||||
internal final fun B.<no name provided>(): kotlin.Unit
|
||||
}
|
||||
|
||||
kotlin.annotation.annotation() internal final class a : kotlin.Annotation {
|
||||
kotlin.annotation.target(allowedTargets = {AnnotationTarget.TYPE, AnnotationTarget.FUNCTION}) kotlin.annotation.annotation() internal final class a : kotlin.Annotation {
|
||||
public constructor a()
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
@@ -10,7 +10,7 @@ kotlin.deprecated(value = "Deprecated in Java") public open class A {
|
||||
|
||||
internal final class B : A {
|
||||
public constructor B(/*0*/ foo: kotlin.String)
|
||||
kotlin.deprecated() private final val foo: kotlin.String
|
||||
@property:kotlin.deprecated() private final val foo: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ fun getFoo(/*0*/ text: kotlin.String): kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
// !DIAGNOSTICS: -UNUSED_EXPRESSION
|
||||
|
||||
class PropertyHolder {
|
||||
deprecated("")
|
||||
val a1 = 1
|
||||
|
||||
@property:deprecated("")
|
||||
var a2 = ""
|
||||
|
||||
@get:deprecated("")
|
||||
public val withGetter: String = ""
|
||||
|
||||
@set:deprecated("")
|
||||
public var withSetter: String = ""
|
||||
}
|
||||
|
||||
fun fn() {
|
||||
val holder = PropertyHolder()
|
||||
|
||||
holder.<!DEPRECATED_SYMBOL_WITH_MESSAGE!>a1<!>
|
||||
holder.<!DEPRECATED_SYMBOL_WITH_MESSAGE!>a2<!>
|
||||
holder.<!DEPRECATED_SYMBOL_WITH_MESSAGE!>withGetter<!>
|
||||
holder.<!DEPRECATED_SYMBOL_WITH_MESSAGE!>withSetter<!> = "A"
|
||||
}
|
||||
|
||||
fun literals() {
|
||||
PropertyHolder::<!DEPRECATED_SYMBOL_WITH_MESSAGE!>a1<!>
|
||||
PropertyHolder::<!DEPRECATED_SYMBOL_WITH_MESSAGE!>a2<!>
|
||||
PropertyHolder::withGetter
|
||||
PropertyHolder::withSetter
|
||||
}
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
package
|
||||
|
||||
internal fun fn(): kotlin.Unit
|
||||
internal fun literals(): kotlin.Unit
|
||||
|
||||
internal final class PropertyHolder {
|
||||
public constructor PropertyHolder()
|
||||
kotlin.deprecated(value = "") internal final val a1: kotlin.Int = 1
|
||||
@property:kotlin.deprecated(value = "") internal final var a2: kotlin.String
|
||||
public final val withGetter: kotlin.String = ""
|
||||
public final var withSetter: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
}
|
||||
@@ -126,7 +126,7 @@ package illegal_modifiers {
|
||||
internal final class LegalModifier {
|
||||
public constructor LegalModifier(/*0*/ a: kotlin.Int, /*1*/ illegal_modifiers.annotated() b: kotlin.String, /*2*/ illegal_modifiers.annotated() vararg v: kotlin.Int /*kotlin.IntArray*/)
|
||||
internal final val a: kotlin.Int
|
||||
illegal_modifiers.annotated() private final var b: kotlin.String
|
||||
private final var b: kotlin.String
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
class Aaa() {
|
||||
val <!REDECLARATION!>a<!> = 1
|
||||
val <!REDECLARATION!>a<!> = 1
|
||||
}
|
||||
}
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
class Aaa() {
|
||||
val <!REDECLARATION!>a<!> = 1
|
||||
val <!REDECLARATION!>a<!> = ""
|
||||
}
|
||||
}
|
||||
Vendored
+12
-12
@@ -6,10 +6,10 @@ fun foo() {}
|
||||
@jvmName("b")
|
||||
fun Any.foo() {}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@jvmName("c")<!>
|
||||
@jvmName("c")
|
||||
val px = 1
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@jvmName("d")<!>
|
||||
@jvmName("d")
|
||||
val Any.px : Int
|
||||
get() = 1
|
||||
|
||||
@@ -39,22 +39,22 @@ class C <!WRONG_ANNOTATION_TARGET!>jvmName("primary")<!> constructor() {
|
||||
@jvmName("b")
|
||||
fun Any.foo() {}
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@jvmName("c")<!>
|
||||
@jvmName("c")
|
||||
val px = 1
|
||||
|
||||
<!WRONG_ANNOTATION_TARGET!>@jvmName("d")<!>
|
||||
@jvmName("d")
|
||||
val Any.px : Int
|
||||
get() = 1
|
||||
get() = 1
|
||||
|
||||
val valx: Int
|
||||
@jvmName("e")
|
||||
get() = 1
|
||||
@jvmName("e")
|
||||
get() = 1
|
||||
|
||||
var varx: Int
|
||||
@jvmName("f")
|
||||
get() = 1
|
||||
@jvmName("g")
|
||||
set(v) {}
|
||||
@jvmName("f")
|
||||
get() = 1
|
||||
@jvmName("g")
|
||||
set(v) {}
|
||||
}
|
||||
|
||||
fun foo1() {
|
||||
@@ -86,4 +86,4 @@ class D: AB() {
|
||||
|
||||
@jvmName("D_finalFun")
|
||||
fun finalFun() {}
|
||||
}
|
||||
}
|
||||
Vendored
+4
-4
@@ -1,10 +1,10 @@
|
||||
package
|
||||
|
||||
kotlin.jvm.jvmName(name = "c") internal val px: kotlin.Int = 1
|
||||
internal val px: kotlin.Int = 1
|
||||
internal val valx: kotlin.Int
|
||||
internal var vardef: kotlin.Int
|
||||
internal var varx: kotlin.Int
|
||||
kotlin.jvm.jvmName(name = "d") internal val kotlin.Any.px: kotlin.Int
|
||||
internal val kotlin.Any.px: kotlin.Int
|
||||
kotlin.jvm.jvmName(name = "a") internal fun foo(): kotlin.Unit
|
||||
internal fun foo1(): kotlin.Unit
|
||||
kotlin.jvm.jvmName(name = "b") internal fun kotlin.Any.foo(): kotlin.Unit
|
||||
@@ -22,10 +22,10 @@ internal abstract class AB {
|
||||
kotlin.jvm.jvmName(name = "C") internal final class C {
|
||||
kotlin.jvm.jvmName(name = "primary") public constructor C()
|
||||
kotlin.jvm.jvmName(name = "ctr") public constructor C(/*0*/ x: kotlin.Int)
|
||||
kotlin.jvm.jvmName(name = "c") internal final val px: kotlin.Int = 1
|
||||
internal final val px: kotlin.Int = 1
|
||||
internal final val valx: kotlin.Int
|
||||
internal final var varx: kotlin.Int
|
||||
kotlin.jvm.jvmName(name = "d") internal final val kotlin.Any.px: kotlin.Int
|
||||
internal final val kotlin.Any.px: kotlin.Int
|
||||
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
|
||||
kotlin.jvm.jvmName(name = "a") internal final fun foo(): kotlin.Unit
|
||||
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
|
||||
|
||||
Reference in New Issue
Block a user