compiler testdata: s/trait/interface
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: Int.()->Unit
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: Int.()->Unit
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: Int.()->Unit
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: Int.()->Unit
|
||||
|
||||
fun test() {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: (Int)->Int
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: (Int)->Int
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: (Int)->Int
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait A {
|
||||
interface A {
|
||||
val foo: (Int)->Int
|
||||
}
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ class A {
|
||||
fun B.foo() {}
|
||||
}
|
||||
|
||||
trait B
|
||||
interface B
|
||||
|
||||
fun bar(a: A, b: B) {
|
||||
with (a) {
|
||||
|
||||
@@ -2,7 +2,7 @@ class A {
|
||||
fun B.foo() {}
|
||||
}
|
||||
|
||||
trait B
|
||||
interface B
|
||||
|
||||
fun bar(a: A, b: B) {
|
||||
with (a) {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ class A {
|
||||
fun B.foo() {}
|
||||
}
|
||||
|
||||
trait B
|
||||
interface B
|
||||
|
||||
fun bar(a: A, b: B) {
|
||||
with (a) {
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@ class A {
|
||||
fun B.foo() {}
|
||||
}
|
||||
|
||||
trait B
|
||||
interface B
|
||||
|
||||
fun bar(a: A, b: B) {
|
||||
with (a) {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait Element {
|
||||
interface Element {
|
||||
fun render(builder: StringBuilder, indent: String)
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
trait Element {
|
||||
interface Element {
|
||||
fun render(builder: StringBuilder, indent: String)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user