crystal-community / icr

Interactive console for Crystal programming language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enums error

komisan19 opened this issue · comments

Hi!
i study Crystal-lang document.
enum is error
so, i can't use enum : (

Syntax error in .icr_goOw6J5s0L5tnfIjIBE-kg.cr:2: can't define enum inside def
  enum Color
  ^

@komisan19 thanks for reporting this. Please use master branch if you want to use enums. We will prepare a new release once we have enough changes to go out.

thanks : )