DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway
This commit is contained in:
-2
@@ -1,7 +1,5 @@
|
||||
// "Change 'A.x' type to '(Int) -> Int'" "false"
|
||||
// ACTION: Change 'C.x' type to '(String) -> Int'
|
||||
// ACTION: Disable inspection
|
||||
// ACTION: Edit inspection profile setting
|
||||
// ERROR: <html>Return type is '(kotlin.Int) → kotlin.Int', which is not a subtype of overridden<br/><b>internal</b> <b>abstract</b> <b>val</b> x: (kotlin.String) → kotlin.Int <i>defined in</i> A</html>
|
||||
interface A {
|
||||
val x: (String) -> Int
|
||||
|
||||
Reference in New Issue
Block a user