compiler testdata: s/trait/interface
This commit is contained in:
@@ -51,7 +51,7 @@ sink:
|
||||
<SINK> INIT: in: {foo=ID} out: {foo=ID} USE: in: {} out: {}
|
||||
=====================
|
||||
== Foo ==
|
||||
trait Foo {
|
||||
interface Foo {
|
||||
var c: Int
|
||||
}
|
||||
---------------------
|
||||
|
||||
@@ -11,6 +11,6 @@ fun bar(foo: Foo) {
|
||||
42
|
||||
}
|
||||
|
||||
trait Foo {
|
||||
interface Foo {
|
||||
var c: Int
|
||||
}
|
||||
@@ -28,7 +28,7 @@ foo <v3>: {<: Foo} NEW: r(foo) -> <v3>
|
||||
{ foo.c foo.c = 2 42 } <v5>: * COPY
|
||||
=====================
|
||||
== Foo ==
|
||||
trait Foo {
|
||||
interface Foo {
|
||||
var c: Int
|
||||
}
|
||||
---------------------
|
||||
|
||||
Reference in New Issue
Block a user