[Issue 6063] Make cases where hiddenfuncerror would be thrown an error without -w

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 29 17:29:19 UTC 2018


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Here is a modernized link (Took me a bit to find this, as it seems the webnews
link isn't working any more, it just shows the PHP script):

https://forum.dlang.org/post/irokdr$24ci$1@digitalmars.com

That shows the example that Andrei tested. Compiling this now gives a
compile-time error:

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

Note that even back to 2.060, it was a compiler error with a deprecation.

I also tested a local example that I had to test the same thing. It fails now,
builds with 2.050 and throws the error.

So I think this is fixed as of some version prior to 2.060.

--


More information about the Digitalmars-d-bugs mailing list