Corrections on code review
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change type of overridden property 'B.x' to '(Int) -> Int'" "true"
|
||||
// "Change type of base property 'B.x' to '(Int) -> Int'" "true"
|
||||
interface A {
|
||||
val x: (Int) -> Int
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change type of overridden property 'B.x' to '(Int) -> Int'" "true"
|
||||
// "Change type of base property 'B.x' to '(Int) -> Int'" "true"
|
||||
interface A {
|
||||
val x: (Int) -> Int
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change type of overridden property 'A.x' to 'String'" "true"
|
||||
// "Change type of base property 'A.x' to 'String'" "true"
|
||||
interface A {
|
||||
var x: Int
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change type of overridden property 'A.x' to 'String'" "true"
|
||||
// "Change type of base property 'A.x' to 'String'" "true"
|
||||
interface A {
|
||||
var x: String
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change return type of overridden function 'A.foo' to 'Long'" "true"
|
||||
// "Change return type of base function 'A.foo' to 'Long'" "true"
|
||||
interface A {
|
||||
fun foo(): Int
|
||||
}
|
||||
|
||||
idea/testData/quickfix/override/typeMismatchOnOverride/changeReturnTypeOfOverriddenFunction.kt.after
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
// "Change return type of overridden function 'A.foo' to 'Long'" "true"
|
||||
// "Change return type of base function 'A.foo' to 'Long'" "true"
|
||||
interface A {
|
||||
fun foo(): Long
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user