f09ba64234
- Store options for test in file - Change default for namesHighlightingTest - Combine highlighting and deprecated tests
13 lines
286 B
Kotlin
13 lines
286 B
Kotlin
class MyClass {}
|
|
|
|
deprecated("Use A instead") fun MyClass.get(i: MyClass): MyClass { return i }
|
|
|
|
fun test() {
|
|
val x1 = MyClass()
|
|
val x2 = MyClass()
|
|
|
|
<warning descr="'fun get(i: MyClass)' is deprecated. Use A instead">x1[x2]</warning>
|
|
}
|
|
|
|
// NO_CHECK_INFOS
|
|
// NO_CHECK_WEAK_WARNINGS |