Hi,

In message "[ruby-talk:01108] Re: The value of while..."
    on 00/01/11, Dave Thomas <Dave / thomases.com> writes:

|> Are there any realistic need for using the `while' value?
|
|Not now, but I rather like the idea of
|
|a = (  while <something>
|        <stuff>
|        break <value> if ...
|        <stuff>
|      end
|    )

Well, you need to change the behavior of `break' too.
If we changed to the behavoir, we should not report this error.

|It's more the philosophical thing - we say that they are expressions,
|and they generate values like expressions, but you can't use them as
|expressions. Ruby's pretty good at being orthogonal, but it breaks
|down a bit here.

But using the value of void expression is clearly an error.  I think
it'd be reported somehow.   By warning?

							matz.