Hi Steven,

On Tue, Nov 18, 2014 at 07:41:38PM +0000, Steven Fackler wrote:
> The syntax is ambiguous:
> 
> let foo = (HashMap<Foo, Bar>new());

You mean 'let foo = (HashMap<Foo, Bar>::new());' , right?

Is '::new()' a valid expression for accessing some kind of global
or super namespace? 

If not, then the expression doesn't seem to be ambiguous, but I can see,
that writing the parser would be more tedious.

So is this the reason, an easier parser implementation and therefore
most likely faster parsing of code?


Greetings,
Daniel
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to