How/where to hack DMD to generate docs for string mixed members.
9il
ilyayaroshenko at gmail.com
Mon Apr 16 15:57:07 UTC 2018
On Sunday, 15 April 2018 at 07:59:17 UTC, Stefan Koch wrote:
> On Sunday, 15 April 2018 at 05:20:31 UTC, 9il wrote:
>> Hey,
>>
>> How/where to hack DMD to generate docs for string mixed
>> members?
>>
>> struct S
>> {
>> mixin("
>> ///
>> auto bar() {}
>> ");
>> }
>>
>> Best regards,
>> Ilya Yaroshenko
>
> hmm you should be able to see docs for string mixins, if not.
> try using -vcg-ast and try to run ddoc on the cg file
-vcg-ast does not help:
---
import object;
struct S
{
mixin("\x0a ///\x0a auto bar() {}\x0a ");
}
RTInfo!(S)
{
enum typeof(null) RTInfo = null;
}
---
Is it bug or is it possible to improve it?
More information about the Digitalmars-d-learn
mailing list