Report "declaration should be marked with impl" when possible

Also support a quick fix to add 'impl' modifier (KT-18454), although it
doesn't work yet on classes because there's no error on them in the IDE

 #KT-18087 Fixed
 #KT-18452 Fixed
 #KT-18454
This commit is contained in:
Alexander Udalov
2017-07-18 19:11:09 +03:00
parent 9ecd04f628
commit 3bc8ca5913
12 changed files with 48 additions and 15 deletions
@@ -3,4 +3,4 @@ package org.junit
@Deprecated("Use 'Test' from kotlin.test package",
replaceWith = ReplaceWith("Test", "kotlin.test.Test"),
level = DeprecationLevel.WARNING)
typealias Test = kotlin.test.Test
impl typealias Test = kotlin.test.Test