Implement option for wrapping method annotations

This commit is contained in:
Dmitry Jemerov
2017-06-22 19:59:18 +02:00
parent a379a814ba
commit 5f9a33564a
47 changed files with 111 additions and 44 deletions
@@ -3,7 +3,8 @@
annotation class X(val s: String)
class A(val n: Int) {
internal @X("1") fun <T : Number> T.getFoo(): Boolean = toInt() - n > 1
internal @X("1")
fun <T : Number> T.getFoo(): Boolean = toInt() - n > 1
}
fun test() {