diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-20 17:45:24 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-20 17:45:24 +0000 |
commit | d24f1fddd770ca5ac488602207649ac678fb10ad (patch) | |
tree | e4c0c6dda33d23f7a20a3dcb33cdfe0709f88814 /ext/psych/extconf.rb | |
parent | 7ba7a2f70ebc27fd097843bf866d46b665475cbb (diff) |
ext/ripper/tools/dsl.rb: Serialize dispatch calls
To avoid the unspecified behavior (the evaluation order of arguments).
In `$$ = foo(bar(), baz());`, it is unspecified which `bar` or `baz` is
called earlier.
This commit changes the code to `v1=bar(); v2=baz(); $$ = foo();`.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/psych/extconf.rb')
0 files changed, 0 insertions, 0 deletions