From: Yukihiro Matsumoto Date: 2006-02-19T21:57:38+09:00 Subject: Re: If statement and if modifier not equivalent? Hi, In message "Re: If statement and if modifier not equivalent?" on Sun, 19 Feb 2006 21:39:04 +0900, David Vallner writes: |Dňa Nedeľa 19 Február 2006 12:58 Mark James napísal: |> OK, thanks Sylvain. But I would have thought that any examination of |> the guarded statement would be delayed until after the condition had |> been evaluated. Is a parse like this possible? | |Personally, I'd be surprised if the parser paid any attention to much of the |semantics of the parsed text at all - that's what the interpreter is supposed |to do. The variable declaration checking at parse-time seems to be the |exception here. | |Syntax ge... gurus, feel free to elaborate. Agreed with you. But there's a vague possibility that this issue will be solved in Ruby 2.0 in different manner. matz.