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