New J2K: do not resolve unary expressions method symbols

As we already have its type and may fail on unresolved declaration

#KT-32603 fixed
This commit is contained in:
Ilya Kirillov
2019-07-15 16:15:19 +03:00
parent 84872e064f
commit d29d7fb257
5 changed files with 22 additions and 38 deletions
+6
View File
@@ -0,0 +1,6 @@
class Foo {
var prop = 0
internal fun foo() {
prop++
}
}
+4
View File
@@ -0,0 +1,4 @@
class Foo {
var prop = 0
<caret>
}
+3
View File
@@ -0,0 +1,3 @@
void foo() {
prop++;
}