DirectiveBasedActionUtils: don't allow to specify ACTION directives that won't be checked anyway

This commit is contained in:
Valentin Kipyatkov
2015-06-15 20:19:38 +03:00
parent c0062b1199
commit eadeb6e63f
11 changed files with 7 additions and 28 deletions
@@ -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) &rarr; kotlin.Int', which is not a subtype of overridden<br/><b>internal</b> <b>abstract</b> <b>val</b> x: (kotlin.String) &rarr; kotlin.Int <i>defined in</i> A</html>
interface A {
val x: (String) -> Int