KAPT: Kapt generates illegal stubs for private interface methods
Interface methods that were private got both the `default` and `private` modifiers when using `jvm-default=all` which is not valid. The stub will now just contain `private` in this case. This fixes KT-48013.
This commit is contained in:
committed by
nataliya.valtman
parent
1cc46ab7fa
commit
b02948b5f7
@@ -10,4 +10,7 @@ public abstract interface Foo {
|
||||
}
|
||||
|
||||
public abstract void bar();
|
||||
|
||||
private void privateMethodWithDefault() {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user