[Issue 129] DDoc downgrades enum to their integer initializers

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 19 16:16:09 UTC 2017


https://issues.dlang.org/show_bug.cgi?id=129

Iain Buclaw <ibuclaw at gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at gdcproject.org

--- Comment #12 from Iain Buclaw <ibuclaw at gdcproject.org> ---
(In reply to Timothee Cour from comment #10)
> https://dlang.org/library/std/process/pipe_process.html
> shows:
> 
> ProcessPipes pipeProcess( 
>   const(char[][]) args, 
>   Redirect redirect = cast(Redirect)7, 
>   const(string[string]) env = cast(const(string[string]))null, 
>   Config config = cast(Config)0, 
>   const(char[]) workDir = null 
> ) @safe; 
> 
> 
> with
> 
> cast(Redirect)7, 
> 
> instead of 
> 
> Redirect redirect = Redirect.all,
> 
> as in source code

Interestingly, when compiling a minimal test - just the enum declarations and
the pipeProcess function - the ddoc generated looks fine.


---

Declaration

@safe ProcessPipes pipeProcess(in char[][] args, Redirect redirect =
Redirect.all, const string[string] env = null, Config config = Config.none, in
char[] workDir = null);

---

I think this should be closed, and other issues stemming from handled in their
respective report numbers.

--


More information about the Digitalmars-d-bugs mailing list