[FIR] Implement UNDERSCORE_IS_RESERVED, UNDERSCORE_USAGE_WITHOUT_BACKTICKS diagnostics (psi only)
This commit is contained in:
committed by
TeamCityServer
parent
cc4adb798f
commit
ea2d9f7c0c
@@ -29,7 +29,7 @@ fun foo() {
|
||||
}
|
||||
} catch (_: Exception) {
|
||||
`_`.stackTrace
|
||||
val y1 = _
|
||||
val y1 = <!UNDERSCORE_USAGE_WITHOUT_BACKTICKS!>_<!>
|
||||
val y2 = (`_`)
|
||||
}
|
||||
try {
|
||||
|
||||
Vendored
+1
-1
@@ -29,7 +29,7 @@ fun foo() {
|
||||
}
|
||||
} catch (_: Exception) {
|
||||
`_`.stackTrace
|
||||
val y1 = _
|
||||
val y1 = <!UNDERSCORE_USAGE_WITHOUT_BACKTICKS!>_<!>
|
||||
val y2 = (`_`)
|
||||
}
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user