Uast: more cases for KotlinUSimpleReferenceExpression resolve (KT-30957, KT-27385)

This commit is contained in:
Nicolay Mitropolsky
2019-04-18 12:53:37 +03:00
parent 9352d52e7e
commit f118b007f0
12 changed files with 252 additions and 39 deletions
+3
View File
@@ -11,6 +11,9 @@ fun bar() {
listOf(A()).forEach { println(it) } // inline from stdlib
listOf("").joinToString() // not inline from stdlib
listOf("").size // property from stdlib
listOf("").indices // property from stdlib without backing method
val date: java.util.Date = java.util.Date()
date.time = 1000 // setter from Java
listOf("").last() // overloaded extension from stdlib
mutableMapOf(1 to "1").entries.first().setValue("123") // call on nested method in stdlib
val intRange = 0L..3L