FIR checker/IDE: Add checker and quickfix for WRONG_MODIFIER_TARGET.

There are only simple checks for `external` and `const` for now. The
rest of the checks (see ModifiersChecker in FE1.0) will be added later.
This commit is contained in:
Mark Punzalan
2021-03-03 20:34:03 +00:00
committed by Ilya Kirillov
parent ebfc431733
commit c3d2ce0c1f
22 changed files with 138 additions and 20 deletions
@@ -1,4 +1,5 @@
// "Change to val" "true"
object Test {
<caret>const var foo = "123"
}
}
/* FIR_COMPARISON */
@@ -1,4 +1,5 @@
// "Change to val" "true"
object Test {
<caret>const val foo = "123"
}
}
/* FIR_COMPARISON */