Fix MovePropertyToConstructorIntention and broken tests

This commit is contained in:
Vyacheslav Gerasimov
2017-03-24 21:52:53 +03:00
parent efa03e7ad8
commit 8c41e44b3b
9 changed files with 10 additions and 0 deletions
@@ -1,5 +1,6 @@
// "Change type of overriden property 'A.x' to '(Int) -> Int'" "false"
// ACTION: Change type to '(String) -> Int'
// ACTION: Move to constructor
// ERROR: Type of 'x' is not a subtype of the overridden property 'public abstract val x: (String) -> Int defined in A'
interface A {
val x: (String) -> Int