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