Files
kotlin-fork/compiler/testData/diagnostics/testsWithStdLib/native/nonFunction.fir.kt
T
Mark Punzalan c3d2ce0c1f 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.
2021-03-17 10:45:26 +01:00

9 lines
222 B
Kotlin
Vendored

<!WRONG_MODIFIER_TARGET!>external<!> class A
<!WRONG_MODIFIER_TARGET!>external<!> val foo: Int = 23
class B {
<!WRONG_MODIFIER_TARGET!>external<!> class A
<!WRONG_MODIFIER_TARGET!>external<!> val foo: Int = 23
}