DIP 50 - AST macros
deadalnix
deadalnix at gmail.com
Sun Nov 17 10:47:13 PST 2013
On Sunday, 17 November 2013 at 13:36:32 UTC, Simen Kjærås wrote:
> On 2013-11-17 11:37, Jacob Carlborg wrote:
>> On 2013-11-17 09:58, Walter Bright wrote:
>>
>>> Think about the desired feature mentioned earlier in this
>>> thread of
>>> being able to insert a "return;" statement, causing what
>>> looks like a
>>> function call to return from the caller.
>>
>> I'm not entirely sure what you're saying. Could you please
>> post a link
>> to the post mentioning this or show an example.
>
> I believe it is basically this:
>
> int bar() {
> foo(return 3);
> return 5;
> }
>
>
> If that program is allowed to compile, and to return 3.
That never was in the DIP.
More information about the Digitalmars-d
mailing list