haxegon / zeedonk

Haxegon + Puzzlescript = Zeedonk!
http://www.zeedonk.net
12 stars 2 forks source link

switch/case screws up indentation #413

Closed increpare closed 8 years ago

increpare commented 8 years ago
switch(3){
  case 3:
    trace("gah");
}
    trace("hey");
increpare commented 8 years ago

here's a test case - it works in js mode but not in haxe mode - compare how they're parsed and figure it all out.

switch(3){
  case 3:
}
trace("hey");