Introduce Variable: Do not suggest expressions without type

#KT-12922 Fixed
This commit is contained in:
Alexey Sedunov
2016-07-21 20:25:51 +03:00
parent 3cd35f8a3b
commit 892c8436f3
6 changed files with 20 additions and 2 deletions
@@ -0,0 +1,6 @@
// WITH_RUNTIME
import java.util.*
fun foo() {
<caret>Arrays.asList(1, 2, 3)
}
@@ -0,0 +1,6 @@
// WITH_RUNTIME
import java.util.*
fun foo() {
val asList = Arrays.asList(1, 2, 3)
}
-1
View File
@@ -5,5 +5,4 @@ fun main(args: Array<String>) {
1.0
1.0 + 1
Math.pow(...)
print(...)
*/