Re: D 2.0 Reference: document cast(immutable) etc.

2010-12-29 Thread Stewart Gordon
On 10/12/2010 00:09, darraghcoy wrote: Minor language documentation / reference issue. I found these flavours of cast() expressions being parsed by DMD: snip cast(wild) cast(shared wild) cast(wild shared) snip What is wild? Can't find it in the docs. Where did you find out about its

Re: D 2.0 Reference: document cast(immutable) etc.

2010-12-29 Thread Ellery Newcomer
On 12/29/2010 12:53 PM, Stewart Gordon wrote: What is wild? Can't find it in the docs. Where did you find out about its existence? Stewart. That is, in parse.c, TOKwild is aliased to TOKinout, so you can't literally write cast(wild) x