Introduce Variable: Do not suggest expressions without type
#KT-12922 Fixed
This commit is contained in:
@@ -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
@@ -5,5 +5,4 @@ fun main(args: Array<String>) {
|
||||
1.0
|
||||
1.0 + 1
|
||||
Math.pow(...)
|
||||
print(...)
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user