Review fixes for mutable variable smart casting (mostly refactoring).

DataFlowValue.isPredictable() introduced instead of isStableIdentifier().
Parenthesized assignments are treated correctly.
This commit is contained in:
Mikhail Glukhikh
2015-04-16 20:05:46 +03:00
parent e97e792674
commit 109e0abb6d
17 changed files with 133 additions and 81 deletions
@@ -68,7 +68,7 @@ class MyTest() {
}
else {
a = "ss"
doSmth(a as String)
doSmth(<!DEBUG_INFO_SMARTCAST!>a<!>)
}
doSmth(a)