report 'trait' keyword as deprecated, provide quickfix for replacing with 'interface'

This commit is contained in:
Dmitry Jemerov
2015-05-13 19:29:15 +02:00
parent 3dce96e01c
commit dc9523016a
13 changed files with 109 additions and 1 deletions
@@ -0,0 +1,2 @@
<!DEPRECATED_TRAIT_KEYWORD!>trait<!> A {
}
@@ -0,0 +1,7 @@
package
internal interface A {
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}