UNINITIALIZED_ENUM_ENTRY compiler warning introduced #KT-2349 Fixed

(cherry picked from commit 76ac6d1)
This commit is contained in:
Mikhail Glukhikh
2016-07-29 15:18:09 +03:00
committed by Mikhail Glukhikh
parent b7ed68db05
commit 35446037bb
20 changed files with 322 additions and 51 deletions
@@ -10,7 +10,10 @@ enum class E(val x: Int) {
E1(0)
}
---------------------
<v0>: Int NEW: magic[FAKE_INITIALIZER](val x: Int) -> <v0>
<v0>: E NEW: magic[FAKE_INITIALIZER](E1(0)) -> <v0>
<v3>: Int NEW: magic[FAKE_INITIALIZER](val x: Int) -> <v3>
0 <v1>: Int NEW: r(0) -> <v1>
(0) <v2>: * NEW: call((0), <init>|<v1>) -> <v2>
=====================
== C ==
class C {