Typo in DIP25 ?

2015-02-27 Thread Parke via Digitalmars-d
Hi, In DIP25, what is the meaning of pairing an open parenthesis with a closing curly brace? Is this a typo? From Dec 28, 2014: http://wiki.dlang.org/?title=DIP25oldid=5279#In_a_nutshell ref int fun(ref int a} { return a; } // ERROR ref int fun(ref inout int a} { return a; } // FINE From

Re: Typo in DIP25 ?

2015-02-27 Thread Andrei Alexandrescu via Digitalmars-d
On 2/27/15 12:22 PM, Parke via Digitalmars-d wrote: Hi, In DIP25, what is the meaning of pairing an open parenthesis with a closing curly brace? Is this a typo? From Dec 28, 2014: http://wiki.dlang.org/?title=DIP25oldid=5279#In_a_nutshell ref int fun(ref int a} { return a; } // ERROR ref