On Dec 3, 2007, at 9:17 AM, blackrain wrote:
I realized later what is the cause of this issue. If you write rand(10), it compiles exactly as if you had written 10.rand. So, rand() is just like... what? .rand (which is a parse error)? ().rand actually doesn't crash, but that's just because () returns an empty Event, so it's legal (if a silly thing to do).
It should be a parse error, I think.
: H. James Harkins
"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal." -- Whitman