f09ba64234
- Store options for test in file - Change default for namesHighlightingTest - Combine highlighting and deprecated tests
12 lines
239 B
Kotlin
12 lines
239 B
Kotlin
class MyRunnable() {}
|
|
|
|
deprecated("Use A instead") fun MyRunnable.invoke() {
|
|
}
|
|
|
|
fun test() {
|
|
val m = MyRunnable()
|
|
<warning descr="'fun invoke()' is deprecated. Use A instead">m()</warning>
|
|
}
|
|
|
|
// NO_CHECK_INFOS
|
|
// NO_CHECK_WEAK_WARNINGS |