[Issue 129] DDoc makes enum values cryptic

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Thu Feb 9 22:07:36 PST 2017


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

--- Comment #11 from Timothee Cour <timothee.cour2 at gmail.com> ---
(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

what's worse is that https://issues.dlang.org/show_bug.cgi?id=9695 was marked
as wontfix, making it impossible to lookup enum values for an integer

Also discussed here: https://issues.dlang.org/show_bug.cgi?id=17171

--


More information about the Digitalmars-d-bugs mailing list