compiler testdata: s/trait/interface

This commit is contained in:
Dmitry Jemerov
2015-05-12 12:38:49 +02:00
parent a5ed5d4269
commit 4bdf598bfe
803 changed files with 1456 additions and 1456 deletions
@@ -1,5 +1,5 @@
public class Foo() {
public trait MyTrait {
public interface MyTrait {
}
}
@@ -1,4 +1,4 @@
public trait MyTrait {
public interface MyTrait {
}
// TESTED_OBJECT_KIND: class
@@ -1,4 +1,4 @@
deprecated("") public trait MyTrait {
deprecated("") public interface MyTrait {
}
// TESTED_OBJECT_KIND: class
@@ -1,5 +1,5 @@
class Foo {
trait MyClass {
interface MyClass {
}
}
@@ -1,4 +1,4 @@
trait MyClass {
interface MyClass {
}
// TESTED_OBJECT_KIND: class
@@ -1,5 +1,5 @@
class Foo {
private trait MyClass {
private interface MyClass {
}
}
@@ -1,4 +1,4 @@
private trait MyClass {
private interface MyClass {
}
// TESTED_OBJECT_KIND: class
@@ -1,5 +1,5 @@
class Foo {
public trait MyClass {
public interface MyClass {
}
}
@@ -1,4 +1,4 @@
public trait MyClass {
public interface MyClass {
}
// TESTED_OBJECT_KIND: class
@@ -8,7 +8,7 @@ class TestDelegate() {
}
}
trait Test {
interface Test {
companion object {
protected var prop: Int by TestDelegate()
}
@@ -4,7 +4,7 @@ class TestDelegate() {
}
}
trait Test {
interface Test {
companion object {
public val prop: Int by TestDelegate()
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
val prop: Int = 0;
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
var prop: Int = 0;
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
var prop: Int = 0
private set
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
var prop: Int
get() {
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
private val prop = 0;
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
private var prop = 0;
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
protected val prop: Int = 0
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
protected var prop: Int = 0
private set
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public val prop: Int = 0;
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public val prop: Int = 0
get() {
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public var prop: Int = 0
}
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public var prop: Int = 0
set(i : Int) {
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public var prop: Int = 0
private set
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public var prop: Int = 0
protected set
@@ -1,4 +1,4 @@
trait Test {
interface Test {
companion object {
public var prop: Int = 0
public set