Resolve annotation arguments only once

This commit is contained in:
Andrey Breslav
2014-03-26 15:16:00 +04:00
parent 298ddcf0ad
commit 708694a09d
6 changed files with 34 additions and 7 deletions
@@ -1,6 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
// ERROR: An integer literal does not conform to the expected type kotlin.String
// ERROR: An integer literal does not conform to the expected type kotlin.String
[suppress(1, "REDUNDANT_NULLABLE")]
fun foo(): String?<caret>? = null
@@ -1,6 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for fun foo" "true"
// ERROR: An integer literal does not conform to the expected type kotlin.String
// ERROR: An integer literal does not conform to the expected type kotlin.String
[suppress(1)]
fun foo(): String?<caret>? = null