Issue #4443 has been updated by Yusuke Endoh.


http://redmine.ruby-lang.org/issues/4440
??? matz ?????????????????????

> ??????????????????????????????????????????????????????????
>
> ????????????????1.8?????????????????????????????????????????????????????????
> ???????????????

確?? redmine ??????????????????????????????????????????????????失??????????????????????????

-- 
Yusuke Endoh <mame / tsg.ne.jp>
----------------------------------------
Bug #4443: odd evaluation order in a multiple assignment
http://redmine.ruby-lang.org/issues/4443

Author: Yusuke Endoh
Status: Assigned
Priority: Normal
Assignee: Yukihiro Matsumoto
Category: 
Target version: 2.0
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [i686-linux]


=begin
???????????core ?????????????????????????????????????

Ruby ??左??????????価????????信?????????????????????????代??????????????????????

  def foo
    p :foo
    []
  end
  def bar
    p :bar
  end

  x, foo[0] = bar, 0

bar ?????? foo ???左???????????:foo ???:bar ????????????????????????????????????????????????????? :bar ???:foo ????????????

???????????????????????????????????????

  obj, obj.foo = obj.foo, obj

???? swap ?????????????????????????????????????????????????????????????????????????????????転????????????????????????????????????????????????????????????????????????? splay tree ???????????????????????????????????????:

  t.left, t.left.right, t = t.left.right, t, t.left

1.9 系????修正?????????????????????????????2.0 ??????????????????????????????

IRC ??話????????????????????????????????????????????????????????????

  foo[0] = bar

??????????? :foo ???:bar ?????????????

-- 
Yusuke Endoh <mame / tsg.ne.jp>
=end



-- 
http://redmine.ruby-lang.org