remove support for 'trait' keyword
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package foo
|
||||
|
||||
@native trait HasName {
|
||||
@native interface HasName {
|
||||
val name: String
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package foo
|
||||
|
||||
@native trait Summizer {
|
||||
@native interface Summizer {
|
||||
fun sum(a: Int, b: Int): Int
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
package foo
|
||||
|
||||
@native trait Summizer {
|
||||
@native interface Summizer {
|
||||
fun sum(a: Int, b: Int): Int
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user