Fix a bunch of IDE quick-fix tests (related to "convert to run/...")

These actions became available more often some days ago
This commit is contained in:
Mikhail Glukhikh
2019-02-25 10:37:07 +03:00
parent 4ef12b1ed7
commit c084eefb65
27 changed files with 56 additions and 0 deletions
@@ -1,6 +1,8 @@
// "Make 'doSth' protected" "false"
// ACTION: Make 'doSth' public
// ACTION: Make 'doSth' internal
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Cannot access 'doSth': it is private in 'A'
class A {
@@ -2,6 +2,8 @@
// ACTION: Convert property initializer to getter
// ACTION: Add names to call arguments
// ACTION: Move to constructor
// ACTION: Convert to run
// ACTION: Convert to with
// ERROR: Cannot access 'bar': it is private in 'First'
private data class Data(val x: Int)