[FIR] Support FIR version of all-open plugin
This commit is contained in:
committed by
teamcity
parent
4003ca0691
commit
22ebea8174
@@ -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
@@ -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"
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
OK
|
||||
Reference in New Issue
Block a user