summaryrefslogtreecommitdiff
path: root/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.before.Main.kt
blob: 4329e12ee95da72ee079f41b443afe1a15b7069c (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.<caret>Foo<T, Int, String>(2, "2")
}