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
@@ -3,6 +3,10 @@ enum class Direction {
NORTH, SOUTH, WEST, EAST
}
---------------------
<v0>: Direction NEW: magic[FAKE_INITIALIZER](NORTH,) -> <v0>
<v1>: Direction NEW: magic[FAKE_INITIALIZER](SOUTH,) -> <v1>
<v2>: Direction NEW: magic[FAKE_INITIALIZER](WEST,) -> <v2>
<v3>: Direction NEW: magic[FAKE_INITIALIZER](EAST) -> <v3>
=====================
== foo ==
fun foo(dir: Direction): Int {