summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createFunction/call/typeArguments/javaClassMember.after.kt
blob: e143356fb0aba2408e792172b5f322f5c8418841 (plain)
1
2
3
4
5
6
7
8
9
// "Create member function 'B.foo'" "true"
// ERROR: Unresolved reference: foo
// ERROR: 'public' property exposes its 'public/*package*/' type B

class A<T> internal constructor(val b: B<T>) {
    fun test(): Int {
        return b.foo<Int, String>(2, "2")
    }
}