summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.after.kt
blob: aca27cf9a161a92ea3e11c2b4b2f5556787ba056 (plain)
1
2
3
4
5
6
7
// "Create class 'Foo'" "true"
// ERROR: Unresolved reference: Foo
// ERROR: 'public' property exposes its 'public/*package*/' type B

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