Fix for KT-16441: NoSuchFieldError: $$delegatedProperties when delegating through provideDelegate in companion object

#KT-16441 Fixed
This commit is contained in:
Mikhael Bogdanov
2017-02-20 16:10:40 +01:00
parent a8625b632d
commit d24ebf711b
87 changed files with 164 additions and 98 deletions
@@ -12,7 +12,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field isOK$delegate: Delegate
public method <init>(): void
public final method isOK(): boolean
@@ -1,6 +1,6 @@
@kotlin.Metadata
public final class BoundExtensionPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(@org.jetbrains.annotations.NotNull p0: Foo): java.lang.String
@@ -16,7 +16,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
@@ -11,7 +11,7 @@ public final class Delegate {
@kotlin.Metadata
public final class ExtensionPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(@org.jetbrains.annotations.NotNull p0: Foo): java.lang.String
@@ -1,6 +1,6 @@
@kotlin.Metadata
public class Base {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
@@ -7,7 +7,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field member$delegate: Delegate
private final @org.jetbrains.annotations.NotNull field memberExtension$delegate: Delegate
public method <init>(): void
@@ -17,7 +17,7 @@ public final class Foo {
@kotlin.Metadata
public final class GetExtensionDelegateKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field extension$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method getExtension(@org.jetbrains.annotations.NotNull p0: Foo): boolean
@@ -11,7 +11,7 @@ public final class Delegate {
@kotlin.Metadata
public final class KPropertyForDelegatedPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private static @org.jetbrains.annotations.Nullable field ref: kotlin.reflect.KProperty
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
@@ -16,7 +16,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getResult(@org.jetbrains.annotations.NotNull p0: Bar): java.lang.String
@@ -11,7 +11,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public method <init>(): void
public final @org.jetbrains.annotations.NotNull method getResult(): java.lang.String
@@ -8,7 +8,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
public final static field Companion: Foo.Companion
private final @org.jetbrains.annotations.NotNull field x$delegate$1: Delegate
private final static @org.jetbrains.annotations.NotNull field x$delegate: Delegate
@@ -19,7 +19,7 @@ public final class Foo {
@kotlin.Metadata
public final static class Foo/Companion {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
inner class Foo/Companion
private method <init>(): void
public final @org.jetbrains.annotations.NotNull method getX(): java.lang.String
@@ -13,7 +13,7 @@ public final class Foo {
@kotlin.Metadata
public final class MemberExtensions {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field bar$delegate$1: Delegate
private final @org.jetbrains.annotations.NotNull field bar$delegate$2: Delegate
private final @org.jetbrains.annotations.NotNull field bar$delegate: Delegate
@@ -25,7 +25,7 @@ public final class MemberExtensions {
@kotlin.Metadata
public final class NameClashExtensionPropertiesKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field bar$delegate$1: Delegate
private final static @org.jetbrains.annotations.NotNull field bar$delegate$2: Delegate
private final static @org.jetbrains.annotations.NotNull field bar$delegate: Delegate
@@ -7,7 +7,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Foo {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field member$delegate: Delegate
private final @org.jetbrains.annotations.NotNull field memberExtension$delegate: Delegate
public method <init>(): void
@@ -17,7 +17,7 @@ public final class Foo {
@kotlin.Metadata
public final class NoSetAccessibleTrueKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field extension$delegate: Delegate
private final static @org.jetbrains.annotations.NotNull field topLevel$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
@@ -1,6 +1,6 @@
@kotlin.Metadata
public class Base {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public method <init>(): void
public @org.jetbrains.annotations.NotNull method getX(): java.lang.String
@@ -16,7 +16,7 @@ public final class Delegate {
@kotlin.Metadata
public final class Derived {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final @org.jetbrains.annotations.NotNull field x$delegate: Delegate
public method <init>(): void
public @org.jetbrains.annotations.NotNull method getX(): java.lang.String
@@ -11,7 +11,7 @@ public final class Delegate {
@kotlin.Metadata
public final class TopLevelPropertyKt {
private synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
synthetic final static field $$delegatedProperties: kotlin.reflect.KProperty[]
private final static @org.jetbrains.annotations.NotNull field result$delegate: Delegate
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static @org.jetbrains.annotations.NotNull method getResult(): java.lang.String