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

greenify <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #1 from greenify <[email protected]> ---
>From Slack by @LemonBoy

> @wilzbach, 18136 is easy to fix, you just need to check out 
> `visit(FuncDeclaration funcdecl)' in semantic3.d where it calls 
> f.checkRetType. It seems you must call something that increases 
> `global.errors` first such as `error()` before you're able to construct an 
> ErrorStatement instance.

At the moment this triggers a different error in Phobos, so it would require a
bit of work to reproduce it again as the underlying phobos code apparently
changed.

https://run.dlang.io/is/w3u6Oz

--

Reply via email to