On 1/25/12 12:39 PM, Florian Weimer wrote:
The "." was ugly, but doesn't this make the syntatic category of the
token dependent on the contents of imported modules?  I think this is
problematic for IDEs which want to go a bit beyond lexical syntax
highlighting.

Yes, this was the counter argument.

We can remove the c variant from the enum_type definition, and the
program still compiles (even though this smells like a bug).  It keeps
compiling if we add a d variant to enum_type.  Flagging unused bound
variables as error isn't a reliable countermeasure because the
variant-now-variable might actually be used.

This is because exhaustiveness checking is not implemented.


Niko
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to