From f2c1608c2bb6f33ed41dc79b14f7b295cc8ca133 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Fri, 22 Jan 2021 19:18:34 +0300 Subject: [PATCH] Update testData --- .../shadowedExtension/extensionOnErrorType.fir.kt | 7 ------- .../shadowedExtension/extensionOnErrorType.kt | 2 ++ .../diagnostics/tests/resolve/CycleInTypeArgs.fir.kt | 3 --- .../testData/diagnostics/tests/resolve/CycleInTypeArgs.kt | 2 ++ compiler/testData/diagnostics/tests/subtyping/kt304.fir.kt | 7 ------- compiler/testData/diagnostics/tests/subtyping/kt304.kt | 2 ++ 6 files changed, 6 insertions(+), 17 deletions(-) delete mode 100644 compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.fir.kt delete mode 100644 compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.fir.kt delete mode 100644 compiler/testData/diagnostics/tests/subtyping/kt304.fir.kt diff --git a/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.fir.kt b/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.fir.kt deleted file mode 100644 index 03781e5adfa..00000000000 --- a/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.fir.kt +++ /dev/null @@ -1,7 +0,0 @@ -interface G { - fun foo() - val bar: Int -} - -fun G.foo() {} -val G.bar: Int get() = 42 \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.kt b/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.kt index 03781e5adfa..79f828acfd1 100644 --- a/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.kt +++ b/compiler/testData/diagnostics/tests/redeclarations/shadowedExtension/extensionOnErrorType.kt @@ -1,3 +1,5 @@ +// FIR_IDENTICAL + interface G { fun foo() val bar: Int diff --git a/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.fir.kt b/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.fir.kt deleted file mode 100644 index d8ef905f937..00000000000 --- a/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.fir.kt +++ /dev/null @@ -1,3 +0,0 @@ -class Class1X>>> - -class Class2X>>> \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.kt b/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.kt index d8ef905f937..7065ae0cf1a 100644 --- a/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.kt +++ b/compiler/testData/diagnostics/tests/resolve/CycleInTypeArgs.kt @@ -1,3 +1,5 @@ +// FIR_IDENTICAL + class Class1X>>> class Class2X>>> \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/subtyping/kt304.fir.kt b/compiler/testData/diagnostics/tests/subtyping/kt304.fir.kt deleted file mode 100644 index 95b34f3a56a..00000000000 --- a/compiler/testData/diagnostics/tests/subtyping/kt304.fir.kt +++ /dev/null @@ -1,7 +0,0 @@ -//KT-304: Resolve supertype reference to class anyway - -open class Foo() : Bar() { -} - -open class Bar() { -} \ No newline at end of file diff --git a/compiler/testData/diagnostics/tests/subtyping/kt304.kt b/compiler/testData/diagnostics/tests/subtyping/kt304.kt index 95b34f3a56a..f8eb56c0730 100644 --- a/compiler/testData/diagnostics/tests/subtyping/kt304.kt +++ b/compiler/testData/diagnostics/tests/subtyping/kt304.kt @@ -1,3 +1,5 @@ +// FIR_IDENTICAL + //KT-304: Resolve supertype reference to class anyway open class Foo() : Bar() {