Re: [rust-dev] I wanted a dollar but you gave me a ... dollar?

2013-02-24 Thread Ashish Myles
On Sun, Feb 24, 2013 at 12:06 AM, Ashish Myles marci...@gmail.com wrote: On Fri, Feb 22, 2013 at 12:35 PM, John Clements cleme...@brinckerhoff.org wrote: On Feb 22, 2013, at 6:22 AM, Paul Stansifer wrote: Rust syntax expects a literal number in the `[T * n]` construct; from the parser's

Re: [rust-dev] I wanted a dollar but you gave me a ... dollar?

2013-02-23 Thread Ashish Myles
On Fri, Feb 22, 2013 at 12:35 PM, John Clements cleme...@brinckerhoff.org wrote: On Feb 22, 2013, at 6:22 AM, Paul Stansifer wrote: Rust syntax expects a literal number in the `[T * n]` construct; from the parser's point of view, what it receives is an expression, without any

Re: [rust-dev] I wanted a dollar but you gave me a ... dollar?

2013-02-22 Thread Paul Stansifer
Rust syntax expects a literal number in the `[T * n]` construct; from the parser's point of view, what it receives is an expression, without any information that it is a number. (There are internal reasons for this, but it also makes the behavior of `$` more consistent; for example, preventing