Add annotation to static methods on DefaultImpls.

This commit is contained in:
Mads Ager
2019-05-28 14:05:51 +02:00
committed by max-kammerer
parent 2fc2c8fa4c
commit dc5f4ab240
7 changed files with 2 additions and 6 deletions
@@ -93,6 +93,8 @@ internal fun createStaticFunctionWithReceivers(
copyTypeParametersFrom(oldFunction)
annotations.addAll(oldFunction.annotations)
var offset = 0
val dispatchReceiver = oldFunction.dispatchReceiverParameter?.copyTo(
this,
@@ -1,5 +1,4 @@
// !JVM_DEFAULT_MODE: compatibility
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// WITH_REFLECT
@@ -1,5 +1,4 @@
// !JVM_DEFAULT_MODE: enable
// IGNORE_BACKEND: JVM_IR
// TARGET_BACKEND: JVM
// JVM_TARGET: 1.8
// WITH_REFLECT
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
//ALLOW_AST_ACCESS
package test
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
package test
annotation class Anno
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
package test
annotation class Anno
@@ -1,4 +1,3 @@
// IGNORE_BACKEND: JVM_IR
package test
annotation class A(val value: String)