AbstractFirPsiCheckerTest: do partial error diagnostic comparison for some cases

This commit is contained in:
Mikhail Glukhikh
2019-12-09 13:11:43 +03:00
parent 4b251eb986
commit fc117466a8
51 changed files with 110 additions and 2 deletions
+2
View File
@@ -1,3 +1,5 @@
// FIR_COMPARISON
fun test(<warning textAttributesKey="NOT_USED_ELEMENT_ATTRIBUTES">unusedParam</warning>: Int) { // UNUSED_PARAMETER
val str = ":)"
str <warning textAttributesKey="NOT_USED_ELEMENT_ATTRIBUTES">as String</warning> // USELESS_CAST