Undeprecate 'kotlinOptions' DSL
'@ReplaceWith' is not that flexible in this case and proper IDE support required for smooth migration. After such migration in IDE will be added - deprecation should be restored. ^KT-54399 Fixed
This commit is contained in:
committed by
teamcity
parent
a244aaf162
commit
860d3fda95
@@ -484,8 +484,8 @@ private fun Printer.generateDeprecatedInterface(
|
||||
parentType: FqName? = null,
|
||||
) {
|
||||
val afterType = parentType?.let { " : $it" }
|
||||
// Add @Deprecated annotation back once proper migration to compilerOptions will be supported
|
||||
val modifier = """
|
||||
@Deprecated("Use ${compilerOptionType.shortName()} instead", level = DeprecationLevel.WARNING)
|
||||
interface
|
||||
""".trimIndent()
|
||||
generateDeclaration(modifier, type, afterType = afterType) {
|
||||
|
||||
Reference in New Issue
Block a user