Allow suppressing warnings for secondary constructor (KT-12627)

(cherry picked from commit 41cf868)

 #KT-12627 Fixed
This commit is contained in:
Kirill Rakhman
2016-08-14 14:23:02 +03:00
committed by Nikolay Krasko
parent 7a4d20b4cf
commit e6d76a9b71
5 changed files with 21 additions and 1 deletions
@@ -0,0 +1,5 @@
// "Suppress 'REDUNDANT_NULLABLE' for secondary constructor of C" "true"
class C {
constructor(s: String?<caret>?)
}
@@ -0,0 +1,6 @@
// "Suppress 'REDUNDANT_NULLABLE' for secondary constructor of C" "true"
class C {
@Suppress("REDUNDANT_NULLABLE")
constructor(s: String?<caret>?)
}