Commit graph

7 commits

Author SHA1 Message Date
Markus Schirp
f1b4dc2c2f Use 1.9 hash syntax also for specs 2013-09-08 22:12:23 +02:00
Dan Kubb
475512146f Change emit_nil to not emit on the left node of an assignment
* Add emit_nil to other nodes so that they can be replaced
  with nil, effectively removing them from the code.
2013-09-07 23:57:47 -07:00
Dan Kubb
7293386c26 Add magic encoding header to all ruby files
* rubocop still warns about this on ruby 1.9.3, so it was fixed so
  it produces less output on travis.
2013-07-28 16:03:06 -07:00
Dan Kubb
d3470d08cb Fix mutation with one when clause in a case statement
* When there was only one when clause, one mutation would remove
  it which would cause the case statement to become invalid.
2013-06-22 23:00:40 -07:00
Dan Kubb
4e641859ee Add context for multiple when branches 2013-06-22 22:18:10 -07:00
Dan Kubb
6547412f61 Remove unused let declarations 2013-06-22 22:17:50 -07:00
Markus Schirp
56fb2c7285 Port case mutations to parser 2013-06-14 21:12:09 +02:00