Allow suppressing warnings for secondary constructor (KT-12627)
(cherry picked from commit 41cf868) #KT-12627 Fixed
This commit is contained in:
committed by
Nikolay Krasko
parent
7a4d20b4cf
commit
e6d76a9b71
@@ -0,0 +1,5 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for secondary constructor of C" "true"
|
||||
|
||||
class C {
|
||||
constructor(s: String?<caret>?)
|
||||
}
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
// "Suppress 'REDUNDANT_NULLABLE' for secondary constructor of C" "true"
|
||||
|
||||
class C {
|
||||
@Suppress("REDUNDANT_NULLABLE")
|
||||
constructor(s: String?<caret>?)
|
||||
}
|
||||
Reference in New Issue
Block a user