Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some compiler specs fail, but they are broken and need to be fixed. As a consequence of wrapping splat nodes in array nodes in the rewriter, literals of the form [*[something]] were causing the bytecode sequence to be emitted: make_array 0 # yup, create an empty array push something # ie push each elt of the literal array make_array size # size of the inner literal array send :+ # put all the inner elts in the empty array This is totally unnecessary since [] + [something] == [something] The specs will be updated once the compiler changes are made active.
- Loading branch information
Brian Ford
committed
Aug 12, 2009
1 parent
df65c19
commit 5af4228
Showing
2 changed files
with
28 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters