remove support for 'trait' keyword
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package module
|
||||
|
||||
public trait A {
|
||||
public interface A {
|
||||
fun oldFun(): Int = 1
|
||||
fun newFun(): Int = 42
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
package module
|
||||
|
||||
public trait A {
|
||||
public interface A {
|
||||
fun oldFun(): Int = 1
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
companion object {
|
||||
// Old and new constant values are different, but their hashes are the same
|
||||
val CONST = "BF"
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package test
|
||||
|
||||
trait Trait {
|
||||
interface Trait {
|
||||
companion object {
|
||||
// Old and new constant values are different, but their hashes are the same
|
||||
val CONST = "Ae"
|
||||
|
||||
Reference in New Issue
Block a user