Commit graph

13 commits

Author SHA1 Message Date
Markus Schirp
a19f3b1691 Nuke UTF-8 encoding headers
* I do not use 1.9.3
* Also keeping them in each file increases mental overhead (true it *can* be autoamted)
* None of the files encodes NON ASCII chars.
* I do not expect it makes any difference, since nobody programmatically
  will consume strings generated by mutant under the assumption they are UTF-8 encoded.
* 1.9.3 Users have to deal with the encoding fuckup under ruby anyways.
2014-06-09 15:37:48 +00:00
Markus Schirp
8d31d52a93 Sync devtools and fix rubocop warnings 2014-06-08 13:01:26 +00:00
Markus Schirp
017ccc1044 Add expression => self mutation
Also reorganizes parts of meta to align filenames to node name better.

Closes #191
2014-06-05 17:48:39 +00:00
Markus Schirp
a227c2f1d2 Rename emit_self to emit_type 2014-06-03 03:51:22 +00:00
Markus Schirp
05331a0ab3 Emit item promotion in case literal array has only one item
Closes #113
2014-05-24 12:46:50 +00: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
Markus Schirp
30884c22a2 Remove literal array mutation that adds an element
It turns out this mutation is not "universal". Meaning not in all
scenarios this extra element triggers an edge case the specs have to
cover.
2013-07-08 17:57:25 +02:00
Markus Schirp
c4f8f8e25f Break up some complex methods 2013-06-15 17:16:34 +02:00
Markus Schirp
1baa337d8e Port literal array mutator to parser 2013-06-14 21:12:09 +02:00
Markus Schirp
6b2e2a8bb0 Initial round of refactoring
* Remove some RBX only nodes
* Register parser types
* Remove all occurences of ::Rubinius when loading libraries
2013-06-14 21:11:54 +02:00
Markus Schirp
8a4fad0973 Prepend additional elements to datastructurs instead of append
* This makes it far more likely the elements are used in paralel
  assignment. Credits for idea @snusnu!
2012-12-08 01:53:54 +01:00
Markus Schirp
fe941ff74c Cleanup node body mutation 2012-12-06 22:30:57 +01:00
Markus Schirp
69e9de95ed Extract node specific mutator base class 2012-12-06 21:30:28 +01:00