6a8a68a263
#KT-35395 fixed
14 lines
254 B
Kotlin
Vendored
14 lines
254 B
Kotlin
Vendored
// ERROR: 'public' function exposes its 'internal' parameter type Foo
|
|
internal interface Foo
|
|
class Bar {
|
|
fun test() {
|
|
object : Foo {
|
|
fun foo() {
|
|
bug(this)
|
|
}
|
|
}
|
|
}
|
|
|
|
fun bug(foo: Foo?) {}
|
|
}
|