Annotation of functions

rikki cattermole rikki at cattermole.co.nz
Tue Feb 20 12:45:25 UTC 2018


On 20/02/2018 12:35 PM, psychoRabbit wrote:
> On Tuesday, 20 February 2018 at 12:18:47 UTC, rikki cattermole wrote:
>> You need a fully implemented frontend to get anything proper in terms 
>> of parsing for D.
>> We're not talking about syntax highlighting here.
>>
>> So the point is moot.
> 
> Why is the point (about being able to more easily find functions) moot?

string creater() pure {
	return "void func() {}";
}

mixin(creator());

That is why. There are plenty of functions, classes and structs that 
simply won't exist in the form of syntax until you execute CTFE.


More information about the Digitalmars-d mailing list