Fix KtModifierListOwner.addAnnotation (case without modifier list)
Now add annotation to primary constructor should work correctly, and may be some other related cases too. Related to KT-25548
This commit is contained in:
+1
-2
@@ -1,6 +1,5 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for val a" "true"
|
||||
|
||||
fun foo() {
|
||||
@Suppress("REDUNDANT_NULLABLE")
|
||||
val a: String?<caret>? = null
|
||||
@Suppress("REDUNDANT_NULLABLE") val a: String?<caret>? = null
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user