compiler testdata: s/trait/interface
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user