Fix computation of erased receiver for intersection types
#KT-9630 Fixed
This commit is contained in:
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
public interface FirstTrait
|
||||
|
||||
public final class Foo {
|
||||
public method <init>(): void
|
||||
public final @org.jetbrains.annotations.NotNull method bar(): java.lang.String
|
||||
}
|
||||
|
||||
public final class IntersectionTypeMultipleBoundsImplicitReceiverKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method doSomething(@org.jetbrains.annotations.NotNull p0: FirstTrait): java.lang.String
|
||||
}
|
||||
|
||||
public interface SecondTrait
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
public interface Bar
|
||||
|
||||
public final class Baz {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
public interface Foo
|
||||
|
||||
public final class IntersectionTypeWithMultipleBoundsAsReceiverKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method bip(@org.jetbrains.annotations.NotNull p0: Foo): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
}
|
||||
Vendored
+12
@@ -0,0 +1,12 @@
|
||||
public interface A
|
||||
|
||||
public interface B
|
||||
|
||||
public final class C {
|
||||
public method <init>(): void
|
||||
}
|
||||
|
||||
public final class IntersectionTypeWithoutGenericsAsReceiverKt {
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public final static @org.jetbrains.annotations.NotNull method foo(@org.jetbrains.annotations.NotNull p0: A): java.lang.String
|
||||
}
|
||||
Reference in New Issue
Block a user