[FIR] Render deprecation message if it's not a named argument.

This commit is contained in:
Kirill Rakhman
2023-12-21 16:51:54 +01:00
committed by Space Team
parent 8aa32d9f45
commit 6b049df87c
9 changed files with 39 additions and 25 deletions
@@ -0,0 +1,9 @@
/deprecatedError.kt:10:13: error: using 'C' is an error. alas
fun test(c: C) {
^
/deprecatedError.kt:11:5: error: using 'foo(String): Unit' is an error. alas
foo("")
^
/deprecatedError.kt:12:5: error: using 'C' is an error. alas
C()
^