remove support for 'trait' keyword

This commit is contained in:
Dmitry Jemerov
2015-09-18 16:17:02 +02:00
parent 86833c1a74
commit 4ca434da54
217 changed files with 705 additions and 821 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"