eerolanguage / eero

Eero was a fully binary- and header-compatible dialect of Objective-C, implemented with a modified version of the Apple-sponsored LLVM/clang open-source compiler. It featured a streamlined syntax, Python-like indentation, and other features that improve readability and code safety. It was inspired by languages such as Smalltalk, Python, and Ruby.
https://web.archive.org/web/20171101134337/http://eerolanguage.org/
288 stars 7 forks source link

switch cases are falling through #19

Closed andyarvanitis closed 12 years ago

andyarvanitis commented 12 years ago

In the current build, cases are no longer automatically breaking. The blog front page example fails:

    switch descriptor // no fall-through between cases (breaks not needed)
      case 0, 1, 2
        NSLog( 'stdin/out/err' )
      case 3 .. INT_MAX
        NSLog( 'regular file' )
      default
        NSLog( 'bad descriptor' )