Do not suggest assignment as a subject in postfix templates

#KT-14077 Fixed
This commit is contained in:
Denis Zharkov
2016-09-28 20:35:56 +03:00
parent 18146fafdf
commit 54d9b4bee6
4 changed files with 17 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
fun foo(x: Any) {
var y: Any
// Only 'x' expression is suggested, not 'y = x'
y = x.par<caret>
}
@@ -0,0 +1,5 @@
fun foo(x: Any) {
var y: Any
// Only 'x' expression is suggested, not 'y = x'
y = (x)
}