From: Evan Phoenix Date: 2011-01-22T03:21:25+09:00 Subject: [ruby-core:34763] Re: Is evaluation order of arguments specified? On Jan 21, 2011, at 10:16 AM, Nikolai Weibull wrote: > On Fri, Jan 21, 2011 at 18:52, Evan Phoenix wrote: >> The evaluation order is left to right. If there is not a rubyspec for it, that should be fixed. > > I have to admit that I only made a cursory glance over the RubySpec, > looking where I figured it would be, but found nothing. > >> There is lots of code that depends on this ordering (Rubinius for a time used a right to left ordering which broke things). > > My tests confirmed this order on MRI, but I wasn�t sure if anyone had > actually specified it as required. It's required in so far as matz has stated it's left to right on ruby-core before and ruby code depends on it. :) > > Thank you for your answer! > >