'final' is deprecated in interfaces

This commit is contained in:
Mikhail Glukhikh
2015-09-28 12:36:36 +03:00
parent a55f9feacb
commit 7cf2840fe5
5 changed files with 10 additions and 13 deletions
@@ -1,5 +1,5 @@
interface T {
final fun component1(): Int = 42
<!DEPRECATED_MODIFIER_CONTAINING_DECLARATION!>final<!> fun component1(): Int = 42
}
<!DATA_CLASS_OVERRIDE_CONFLICT!>data<!> class A(val x: Int) : T