Introduce FIR_IDENTICAL for FIR vs old frontend tests #KT-36879 Fixed
This commit is contained in:
Vendored
-13
@@ -1,13 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
||||
|
||||
interface IBase : Map<String, String>
|
||||
|
||||
interface TestDerivedInterfaceHiding : IBase {
|
||||
fun replace(key: String, value: String): String?
|
||||
}
|
||||
|
||||
interface TestDerivedInterfaceDefault : IBase {
|
||||
fun replace(key: String, value: String): String? = TODO()
|
||||
}
|
||||
|
||||
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
||||
|
||||
interface IBase : Map<String, String>
|
||||
|
||||
Vendored
-4
@@ -1,4 +0,0 @@
|
||||
// JAVAC_EXPECTED_FILE
|
||||
class ControlFlowException : Exception("") {
|
||||
fun fillInStackTrace() = this
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// JAVAC_EXPECTED_FILE
|
||||
class ControlFlowException : Exception("") {
|
||||
fun fillInStackTrace() = this
|
||||
|
||||
-6
@@ -1,6 +0,0 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
||||
// JAVAC_EXPECTED_FILE
|
||||
|
||||
class MyHashMap : java.util.HashMap<String, String>() {
|
||||
fun getOrDefault(key: String, defaultValue: String): String = TODO()
|
||||
}
|
||||
Vendored
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER -PLATFORM_CLASS_MAPPED_TO_KOTLIN
|
||||
// JAVAC_EXPECTED_FILE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user