Files
Pavel Mikhailovskii 2002542ad2 Stub generation infrastructure (except for metadata generation) for KAPT+K2
This commit includes the basic Java stubs generation infrastructure and
the corresponding tests. The main entry point is called
Kapt4StubGenerator. Calls to it from production code will be added in a
separate commit.

 #KT-51982
2023-08-09 01:17:21 +00:00

20 lines
380 B
Kotlin
Vendored

// FIR_BLOCKED: KT-59287
// !JVM_DEFAULT_MODE: all
// EXPECTED_ERROR: (kotlin:16:5) modifier private not allowed here
interface Foo {
fun foo() {
System.out.println("foo")
}
fun foo2(a: Int) {
System.out.println("foo2")
}
fun bar()
private fun privateMethodWithDefault() {
System.out.println("privateMethodWithDefault")
}
}