Kapt: Allow to strip @Metadata annotation from stubs (KT-36667)

This commit is contained in:
Yan Zhulanow
2020-02-13 17:12:47 +09:00
parent da16b8e527
commit 62affd8e0d
11 changed files with 109 additions and 0 deletions
@@ -0,0 +1,15 @@
// STRIP_METADATA
interface Context
enum class Result {
SUCCESS, ERROR
}
abstract class BaseClass(context: Context, num: Int, bool: Boolean) {
abstract fun doJob(): Result
}
class Inheritor(context: Context) : BaseClass(context, 5, true) {
override fun doJob() = Result.SUCCESS
}