[FIR] Support FIR version of all-open plugin

This commit is contained in:
Dmitriy Novozhilov
2022-05-13 16:40:49 +03:00
committed by teamcity
parent 4003ca0691
commit 22ebea8174
18 changed files with 334 additions and 18 deletions
+6
View File
@@ -0,0 +1,6 @@
-d
$TEMP_DIR$
-Xplugin=dist/kotlinc/lib/allopen-compiler-plugin.jar
-P
plugin\:org.jetbrains.kotlin.allopen\:annotation=foo.AllOpen
$TESTDATA_DIR$/firAllOpenPlugin.kt
+14
View File
@@ -0,0 +1,14 @@
package foo
annotation class AllOpen
@AllOpen
class Base {
fun method() {}
val property = "hello"
}
class Derived : Base() {
override fun method() {}
override val property = "world"
}
+1
View File
@@ -0,0 +1 @@
OK