34267e436e
This also fixes weird suppressions in user code: instead of
«@Suppress("DEPRECATED_SYMBOL_WITH_MESSAGE")» you should now use
«@Suppress("DEPRECATION")»
9 lines
139 B
Kotlin
Vendored
9 lines
139 B
Kotlin
Vendored
import <!DEPRECATION!>C<!> as C2
|
|
|
|
@Deprecated("obsolete")
|
|
class C {
|
|
fun use() {}
|
|
}
|
|
|
|
fun useAlias(c : <!DEPRECATION!>C2<!>) { c.use() }
|