crystal-community / icr

Interactive console for Crystal programming language
MIT License
505 stars 40 forks source link

Enums error #88

Closed komisan19 closed 6 years ago

komisan19 commented 6 years ago

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
  ^
veelenga commented 6 years ago

@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.

komisan19 commented 6 years ago

thanks : )