remove support for 'trait' keyword

Original commit: 4ca434da54
This commit is contained in:
Dmitry Jemerov
2015-09-18 16:17:02 +02:00
parent ff54b362ea
commit 14c45372ee
6 changed files with 8 additions and 8 deletions
@@ -1,6 +1,6 @@
package module
public trait A {
public interface A {
fun oldFun(): Int = 1
fun newFun(): Int = 42
}
@@ -1,5 +1,5 @@
package module
public trait A {
public interface A {
fun oldFun(): Int = 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,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"