[FIR] Add JVM Default diagnostics
This commit is contained in:
committed by
TeamCityServer
parent
b5ff49c903
commit
cfd2835254
-7
@@ -1,7 +0,0 @@
|
||||
// !JVM_TARGET: 1.6
|
||||
|
||||
@JvmDefaultWithoutCompatibility
|
||||
interface A {}
|
||||
|
||||
@JvmDefaultWithoutCompatibility
|
||||
class B : A {}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !JVM_TARGET: 1.6
|
||||
|
||||
<!JVM_DEFAULT_IN_JVM6_TARGET!>@JvmDefaultWithoutCompatibility<!>
|
||||
|
||||
-9
@@ -1,9 +0,0 @@
|
||||
// !JVM_TARGET: 1.8
|
||||
|
||||
@JvmDefaultWithoutCompatibility
|
||||
interface A<T> {
|
||||
fun test(p: T) {}
|
||||
}
|
||||
|
||||
@JvmDefaultWithoutCompatibility
|
||||
class B : A<String> {}
|
||||
+1
@@ -1,3 +1,4 @@
|
||||
// FIR_IDENTICAL
|
||||
// !JVM_TARGET: 1.8
|
||||
|
||||
<!JVM_DEFAULT_IN_DECLARATION!>@JvmDefaultWithoutCompatibility<!>
|
||||
|
||||
Reference in New Issue
Block a user