Disable check about unimplemented check for real defaults
Now we can generate proper defaults and there is no need in additional checks about unimplemented methods #KT-41130 Fixed
This commit is contained in:
committed by
TeamCityServer
parent
641f08d561
commit
78a0d7b5bb
+3
@@ -0,0 +1,3 @@
|
||||
package test;
|
||||
|
||||
class ExtendInterfaceWithDefaultMethodAndCompatibilityAll implements KotlinInterface {}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
interface KotlinInterface {
|
||||
fun bar() {}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
// COMPILER_ARGUMENTS: -Xjvm-default=all
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test;
|
||||
|
||||
class ExtendInterfaceWithDefaultMethodAndCompatibilityAll implements KotlinInterface {}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
interface KotlinInterface {
|
||||
fun bar() {}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
// COMPILER_ARGUMENTS: -Xjvm-default=all-compatibility
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package test;
|
||||
|
||||
<error descr="Class 'ExtendInterfaceWithDefaultMethodAndCompatibilityAll' must either be declared abstract or implement abstract method 'bar()' in 'KotlinInterface'">class ExtendInterfaceWithDefaultMethodAndCompatibilityAll implements KotlinInterface</error> {}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package test
|
||||
|
||||
interface KotlinInterface {
|
||||
fun bar() {}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
// COMPILER_ARGUMENTS: -Xjvm-default=disable
|
||||
Reference in New Issue
Block a user