mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[kotlin] Add explicit IGNORE_K2 directive for HighLevelQuickFixMultiModuleTestGenerated
GitOrigin-RevId: 9d44502af76c2886ab83fc02e40a4174295c67d6
This commit is contained in:
committed by
intellij-monorepo-bot
parent
5e4e6f96c5
commit
036a1ef8c4
+1
@@ -1,6 +1,7 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:
|
||||
// SHOULD_FAIL_WITH: JvmAnnotationClass
|
||||
// IGNORE_K2
|
||||
|
||||
package one.two
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
interface Some
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
interface Some
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
interface Some
|
||||
|
||||
class A {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
interface Some
|
||||
|
||||
actual class A {
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
interface Some
|
||||
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// "Add missing actual declarations" "true"
|
||||
// SHOULD_FAIL_WITH: Cannot generate class: Type <Unknown> is not accessible from target module
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class Foo<caret> {
|
||||
var bar
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
interface Some
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
interface Some
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
class A {
|
||||
class M
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class A {
|
||||
class M
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class A<T> {
|
||||
actual fun <caret>a(): T = TODO()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class A<T> {
|
||||
actual fun a(): T = TODO()
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// ERROR: Unresolved reference: T
|
||||
// ERROR: Unresolved reference: TODO
|
||||
|
||||
// IGNORE_K2
|
||||
actual class A<T> {
|
||||
class B {
|
||||
actual fun <caret>a(): T = TODO()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
class A<T> {
|
||||
actual class B<F : T>
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Create expected class in common module testModule_Common" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class A<T> {
|
||||
class B<F : T>
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
class Some
|
||||
|
||||
actual fun <caret>foo(some: Some) {}
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
interface Some
|
||||
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
class Some
|
||||
|
||||
actual fun <caret>foo(some: List<Some>) {}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
interface Some
|
||||
|
||||
actual fun <T : Some> <caret>foo(some: List<T>) {}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected function in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
interface Some
|
||||
|
||||
actual fun <T : CommonClass, F : Some> <caret>foo(some: List<T>) {}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected property in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
interface Some
|
||||
|
||||
actual val foo<caret>: Some = TODO()
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
// "Create expected property in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,Some
|
||||
// DISABLE-ERRORS
|
||||
|
||||
// IGNORE_K2
|
||||
class Some<T>
|
||||
|
||||
actual val <T>Some<T>.<caret>foo: Some<T> get() = TODO()
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// "Create expected property in common module testModule_Common" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible from testModule_Common:,A
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
interface A
|
||||
|
||||
actual val <T: A> Some<T>.<caret>foo: Some<T> get() = TODO()
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class My {
|
||||
actual fun foo(param: String): Int {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect object O {
|
||||
fun <T : Any> hello(): MutableMap<String, T>
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect object O {
|
||||
fun <T : Any> hello(): MutableMap<String, T>
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual object <caret>O {
|
||||
fun <T> hello(): MutableMap<String, T> {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual object O {
|
||||
fun <T> hello(): MutableMap<String, T> {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My() {
|
||||
fun test()
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My() {
|
||||
fun test()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My {
|
||||
actual constructor()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class My {
|
||||
actual constructor()
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My(a: Int, b: String) {
|
||||
fun test()
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My(a: Int, b: String) {
|
||||
fun test()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My {
|
||||
actual constructor(a: Int, b: String)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class My {
|
||||
actual constructor(a: Int, b: String)
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My(a: Int, b: String) {
|
||||
fun test()
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My(a: Int, b: String) {
|
||||
fun test()
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My {
|
||||
actual constructor(b: String, a: Int)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class My actual constructor(a: Int, b: String) {
|
||||
actual constructor(b: String, a: Int)
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My {
|
||||
fun foo(param: String) = 42
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class My {
|
||||
fun foo(param: String) = 42
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
val name: String
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
val name: String
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My(actual val name: String)
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My(actual val name: String) {
|
||||
actual val age: String
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
fun foo(param: String): Int
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My {
|
||||
actual fun foo(param: String) = 42
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My {
|
||||
actual fun foo(param: String) = 42
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
// Incompilable function
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class My {
|
||||
// Incompilable function
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>My
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class My {
|
||||
actual fun foo() {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class WithCompanion {
|
||||
companion object {
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class WithCompanion {
|
||||
companion object {
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>WithCompanion {
|
||||
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class WithCompanion {
|
||||
actual companion object {
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible:,class M {...} -> Type <Unknown> is not accessible from target module
|
||||
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>F<T>
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
// "Add missing actual members" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible:,class M {...} -> Type <Unknown> is not accessible from target module
|
||||
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>F<T> {
|
||||
actual val a: List<T>
|
||||
get() = TODO("Not yet implemented")
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class WithPrimaryConstructor(x: Int, s: String) {
|
||||
fun bar(x: String)
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class WithPrimaryConstructor(x: Int, s: String) {
|
||||
fun bar(x: String)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>WithPrimaryConstructor {
|
||||
fun bar(x: String) {}
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class WithPrimaryConstructor actual constructor(x: Int, s: String) {
|
||||
fun bar(x: String) {}
|
||||
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible:,val a -> Type <Unknown> is not accessible from target module,val c: Gdssmem -> Type <Unknown> is not accessible from target module
|
||||
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>F
|
||||
+2
-1
@@ -1,7 +1,8 @@
|
||||
// "Add missing actual members" "true"
|
||||
// SHOULD_FAIL_WITH: Some types are not accessible:,val a -> Type <Unknown> is not accessible from target module,val c: Gdssmem -> Type <Unknown> is not accessible from target module
|
||||
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>F {
|
||||
actual val b: Int
|
||||
get() = TODO("Not yet implemented")
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class WithSecondaryConstructor {
|
||||
constructor(x: Int, s: String)
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
expect class WithSecondaryConstructor {
|
||||
constructor(x: Int, s: String)
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class <caret>WithSecondaryConstructor {
|
||||
fun bar(x: String) {}
|
||||
|
||||
+1
@@ -1,5 +1,6 @@
|
||||
// "Add missing actual members" "true"
|
||||
// DISABLE-ERRORS
|
||||
// IGNORE_K2
|
||||
|
||||
actual class WithSecondaryConstructor {
|
||||
fun bar(x: String) {}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add '@Throws' annotation" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
class FooException : Exception()
|
||||
|
||||
fun test() {
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add '@Throws' annotation" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
class FooException : Exception()
|
||||
|
||||
@Throws(FooException::class)
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add '@Throws' annotation" "false"
|
||||
|
||||
// IGNORE_K2
|
||||
fun test() {
|
||||
<caret>throw Throwable()
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add '@Throws' annotation" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
fun test() {
|
||||
<caret>throw Throwable()
|
||||
}
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add '@Throws' annotation" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
@Throws(Throwable::class)
|
||||
fun test() {
|
||||
<caret>throw Throwable()
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
// "Add '@Throws' annotation" "false"
|
||||
|
||||
// IGNORE_K2
|
||||
fun test() {
|
||||
<caret>throw Throwable()
|
||||
}
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
// ACTION: Generate equals & hashCode by identity
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make protected
|
||||
|
||||
// IGNORE_K2
|
||||
actual sealed class SealedClass {
|
||||
actual cl<caret>ass Child : SealedClass()
|
||||
}
|
||||
+1
-1
@@ -2,6 +2,6 @@
|
||||
// TOOL: org.jetbrains.kotlin.idea.inspections.CanSealedSubClassBeObjectInspection
|
||||
// ACTION: Make internal
|
||||
// ERROR: Expected class 'Child' has no actual declaration in module testModule_Common
|
||||
|
||||
// IGNORE_K2
|
||||
sealed class SealedClass
|
||||
expect cla<caret>ss Child : SealedClass
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make protected
|
||||
// ERROR: Expected class 'SealedClass' has no actual declaration in module testModule_Common
|
||||
|
||||
// IGNORE_K2
|
||||
expect sealed class SealedClass {
|
||||
cla<caret>ss Child : SealedClass
|
||||
}
|
||||
+1
-1
@@ -4,6 +4,6 @@
|
||||
// ACTION: Create test
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make private
|
||||
|
||||
// IGNORE_K2
|
||||
sealed class Parent
|
||||
cla<caret>ss Child : Parent()
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
// ACTION: Make internal
|
||||
// ACTION: Make protected
|
||||
// ERROR: Expected class 'SealedClass' has no actual declaration in module testModule_JVM for JVM
|
||||
|
||||
// IGNORE_K2
|
||||
expect sealed class SealedClass {
|
||||
clas<caret>s Child : SealedClass
|
||||
}
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Make internal" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
expect <caret>class Sample
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Make internal" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
internal expect <caret>class Sample
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Make public" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
internal actual c<caret>lass Sample
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
// "Make public" "true"
|
||||
|
||||
// IGNORE_K2
|
||||
actual c<caret>lass Sample
|
||||
+1
@@ -1,2 +1,3 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
actual fun f1(i: Int, <caret>s: String) {}
|
||||
+1
@@ -1,2 +1,3 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
actual fun String.f1(i: Int<caret>) {}
|
||||
+1
@@ -1,2 +1,3 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
expect fun f1(i: Int, <caret>s: String)
|
||||
+1
@@ -1,2 +1,3 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
expect fun String.f1(i: Int<caret>)
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
actual open class A {
|
||||
actual open fun c(a: Int, b: String) {}
|
||||
}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
actual open class A {
|
||||
actual open fun String.c(a: Int) {}
|
||||
}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
actual open class A {
|
||||
actual open fun c(a: Int, <caret>b: String) {}
|
||||
}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
actual open class A {
|
||||
actual open fun String.c(a: Int<caret>) {}
|
||||
}
|
||||
|
||||
+1
@@ -1,4 +1,5 @@
|
||||
// "Convert parameter to receiver" "true"
|
||||
// IGNORE_K2
|
||||
expect class A {
|
||||
fun c(a: Int, <caret>b: String)
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user