JS: make enum valueOf() throw if not found.

This commit is contained in:
Anton Bannykh
2016-12-05 16:46:43 +03:00
parent e0c75f1fb8
commit 1957ac347a
7 changed files with 36 additions and 12 deletions
@@ -9,4 +9,5 @@ public enum class Color {
public final class ValueofKt {
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
public final static method throwsOnGreen(): boolean
}