supported two cases for constructor calling

This commit is contained in:
Sergey Ignatov
2011-11-09 15:07:02 +04:00
parent 54265da366
commit 1bc527cd92
14 changed files with 299 additions and 30 deletions
@@ -6,7 +6,7 @@ YELLOW(24)
BLUE(25)
private var code : Int
open private (c : Int) {
code = c
$code = c
}
open public fun getCode() : Int {
return code