Fix android build

This commit is contained in:
Natalia.Ukhorskaya
2012-08-14 12:25:06 +04:00
parent 71208de565
commit 98ed261eb3
3 changed files with 19 additions and 1 deletions
@@ -0,0 +1,14 @@
package test
enum class Season {
WINTER
SPRING
SUMMER
AUTUMN
}
fun foo(): Season = Season.SPRING
fun box() =
if (foo() == Season.SPRING) "OK"
else "fail"