Partial build fix (new convert to expression body opportunity in quick-fixes)

This commit is contained in:
Mikhail Glukhikh
2016-09-19 10:37:39 +03:00
parent 608368997c
commit 9ad820205e
5 changed files with 5 additions and 0 deletions
@@ -1,5 +1,6 @@
// "Create annotation 'foo'" "false"
// ERROR: Unresolved reference: foo
// ACTION: Convert to expression body
// ACTION: Make private
// ACTION: Make internal
@@ -3,6 +3,7 @@
// ACTION: Make internal
// ACTION: Make private
// ACTION: Rename reference
// ACTION: Convert to expression body
// ERROR: Unresolved reference: foo
// ERROR: Unresolved reference: bar
@@ -3,6 +3,7 @@
// ACTION: Make 'Nested' internal
// ACTION: Make 'Nested' public
// ACTION: Remove parameter 'arg'
// ACTION: Convert to expression body
// ERROR: 'internal' function exposes its 'private' parameter type argument Nested
// ERROR: Cannot access 'Nested': it is private in 'Outer'
@@ -1,5 +1,6 @@
// "Suppress for declarations annotated by 'kotlin.Deprecated'" "false"
// ACTION: Safe delete 'foo'
// ACTION: Create test
// ACTION: Convert to expression body
@Deprecated("")
fun foo<caret>(){}
@@ -1,6 +1,7 @@
// "Suppress for declarations annotated by 'org.jetbrains.annotations.NonNls'" "false"
// ACTION: Safe delete 'foo'
// ACTION: Create test
// ACTION: Convert to expression body
import org.jetbrains.annotations.NonNls
@NonNls