QuickFix: change type of constructor parameter to match value argument in invocation
This commit is contained in:
+5
@@ -0,0 +1,5 @@
|
||||
// "Change parameter 'a' type of primary constructor of class 'B' to 'String'" "true"
|
||||
class B(val a: String)
|
||||
fun foo() {
|
||||
B(if (true) ""<caret> else "")
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
// "Change parameter 'a' type of primary constructor of class 'B' to 'String'" "true"
|
||||
class B(val a: Int)
|
||||
fun foo() {
|
||||
B(if (true) ""<caret> else "")
|
||||
}
|
||||
Reference in New Issue
Block a user