From 6168541bd5bb141c40a1e2a909afa84441b35ed5 Mon Sep 17 00:00:00 2001 From: Ilya Ryzhenkov Date: Sat, 12 Jul 2014 18:29:20 +0400 Subject: Support enums in model --- test/playground.kt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test') diff --git a/test/playground.kt b/test/playground.kt index 54cdc958..9eb7d879 100644 --- a/test/playground.kt +++ b/test/playground.kt @@ -55,6 +55,12 @@ object Object { } +enum class Color(r: Int, g: Int, b: Int) { + Red : Color(100,0,0) + Green : Color(0,100,0) + Blue : Color(0,0,100) +} + class OuterClass { /** -- cgit