Use lower case for phase names.

This commit is contained in:
Alexander Gorshenev
2016-12-27 14:07:15 +03:00
committed by alexander-gorshenev
parent 3fe59cc46c
commit c9fbd37f90
@@ -22,7 +22,7 @@ enum class KonanPhase(val description: String,
}
object KonanPhases {
val phases = KonanPhase.values().associate { it.name to it }
val phases = KonanPhase.values().associate { it.name.toLowerCase() to it }
fun config(config: KonanConfig) {
val disabled = config.configuration.get(KonanConfigKeys.DISABLED_PHASES)