Another use case for __traits(docComment)
feepingcreature at gmail.com
Thu Nov 14 06:32:27 UTC 2019
On Wednesday, 13 November 2019 at 22:53:49 UTC, Steven
> On 11/13/19 2:30 PM, Laeeth Isharc wrote:
>> Compiler flag as we do with string imports? Most projects
>> won't use this feature. If it does end up being used then at
>> least it will be clear. It's difficult to save people from
>> themselves completely - and I think there are many more likely
>> ways to end up abusing the powerful features of D.
> I'm trying to save the reviewers and the maintainers. Code
> review shouldn't include reviewing stuff that isn't compiled.
> If you are doing weird imports, that's an unusual situation and
> requires unusual knowledge.
Our code review already includes Ddoc.
That was my point, really.
The compiler might not complain right now about invalid Ddoc, but
I'd be happy if it did. It would not create extra effort, but
save us effort.
More information about the Digitalmars-d