diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-13 19:29:01 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-06-13 19:29:01 +0000 |
commit | 8fd51678ba9389c59b5d2eab72514586e00204a2 (patch) | |
tree | b372367a38b2d7997de0aba533d8765b5a6998ef /plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass | |
parent | a313a2cd38efda34402faaa45b2dc210f9953844 (diff) | |
parent | 94136e97c59789b2242f8eee1cd8abde4fe323d4 (diff) | |
download | intellij-kotlin-studio-beta.tar.gz |
Snap for 8709740 from 94136e97c59789b2242f8eee1cd8abde4fe323d4 to studio-dolphin-releasestudio-2021.3.1-betastudio-beta
Change-Id: I60acba3629ba543acf77426e415cd999c5252307
Diffstat (limited to 'plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass')
10 files changed, 10 insertions, 0 deletions
diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.after.kt index f62407f96f96..8a86545fd6b2 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.after.kt @@ -1,5 +1,6 @@ // "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") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.before.Main.kt index 194b187a194b..a14fd14a46c5 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMember.before.Main.kt @@ -1,5 +1,6 @@ // "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") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.after.kt index 6d9af98f681a..12cdffdb5a1a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.after.kt @@ -1,5 +1,6 @@ // "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") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.before.Main.kt index ee27a78a071e..2d1d6fb8d5da 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInner.before.Main.kt @@ -1,5 +1,6 @@ // "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") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.after.kt index 2bb5082fb6b4..f91bf4cb0f53 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.after.kt @@ -1,5 +1,6 @@ // "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<String>(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.before.Main.kt index a372a98d192a..1586a39656bb 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerPartialSubstitution.before.Main.kt @@ -1,5 +1,6 @@ // "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<String>(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.after.kt index 4e8ad4506682..aca27cf9a161 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.after.kt @@ -1,5 +1,6 @@ // "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") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.before.Main.kt index 759291470a79..4329e12ee95d 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberInnerWithReceiverArg.before.Main.kt @@ -1,5 +1,6 @@ // "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") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.after.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.after.kt index 5aa81397ff8e..a3859606c32a 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.after.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.after.kt @@ -1,5 +1,6 @@ // "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<String>(2, "2") diff --git a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.before.Main.kt b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.before.Main.kt index b7f2e9895dfb..99c34c118ad6 100644 --- a/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.before.Main.kt +++ b/plugins/kotlin/idea/tests/testData/quickfix/createFromUsage/createClass/callExpression/typeArguments/javaClassMemberPartialSubstitution.before.Main.kt @@ -1,5 +1,6 @@ // "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<String>(2, "2") |