Add(Remove)ParameterQuickFix is not available for unmodifiable files
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
// "Add parameter to function 'equals'" "false"
|
||||
// ERROR: Too many arguments for public fun jet.Any?.equals(other: jet.Any?): jet.Boolean defined in jet
|
||||
|
||||
fun f(d: Any) {
|
||||
d.equals("a", <caret>"b")
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Add parameter to function 'equals'" "false"
|
||||
// ERROR: Too many arguments for public open fun equals(p0: jet.Any?): jet.Boolean defined in java.lang.Object
|
||||
|
||||
fun f(d: java.lang.Object) {
|
||||
d.equals("a", <caret>"b")
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Remove parameter 'other'" "false"
|
||||
// ERROR: No value passed for parameter other
|
||||
|
||||
fun f(d: Boolean) {
|
||||
d.or(<caret>)
|
||||
}
|
||||
Reference in New Issue
Block a user