CFA merge for definition / initialization : more accurate handling of unknown variables #KT-13969 Fixed

(cherry picked from commit 4a96589)
This commit is contained in:
Mikhail Glukhikh
2016-09-26 12:51:24 +03:00
committed by Mikhail Glukhikh
parent 797f7ab28e
commit 436b0ec873
28 changed files with 167 additions and 91 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ fun foo() {
FOO,
BAR
}
val foo = A.FOO
val foo = A.<!UNINITIALIZED_ENUM_ENTRY!>FOO<!>
val b = object {
<!WRONG_MODIFIER_TARGET!>enum<!> class B {}
}