[FIR] Migrate warning/error pairs to DiagnosticFactoryForDeprecation

This commit is contained in:
Dmitriy Novozhilov
2021-07-30 18:07:09 +03:00
parent adfeab1bd0
commit b584fed93d
21 changed files with 119 additions and 139 deletions
@@ -50,6 +50,6 @@ fun test6() = foo<Nothing>()
class B<T>(val array: Array<T>)
fun <T> bar() = B<Array<T>>(<!TYPE_PARAMETER_AS_REIFIED_ARRAY!>arrayOf<!>())
fun <T> bar() = B<Array<T>>(<!TYPE_PARAMETER_AS_REIFIED_ARRAY_ERROR!>arrayOf<!>())
fun test7() = bar<Nothing>()