Skip to content

Commit

Permalink
Block parameter calls method= in {|obj.method| }
Browse files Browse the repository at this point in the history
  • Loading branch information
libc committed Mar 22, 2009
1 parent 96b28f5 commit ceed84a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/compiler/bytecode.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1307,7 +1307,7 @@ def bytecode(g)
g.pop
when AttrAssign
g.cast_for_single_block_arg
@child.bytecode(g, true)
@child.bytecode(g, :swap)
g.pop
when Fixnum, nil
g.pop
Expand Down
1 change: 0 additions & 1 deletion spec/tags/frozen/language/block_tags.txt

This file was deleted.

0 comments on commit ceed84a

Please sign in to comment.