[Issue 16215] Nested class unable to resolve outer class variables in certain scenarios

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Feb 24 13:08:42 UTC 2021


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

RazvanN <razvan.nitu1305 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |razvan.nitu1305 at gmail.com

--- Comment #6 from RazvanN <razvan.nitu1305 at gmail.com> ---
(In reply to Walter Bright from comment #4)
> (In reply to Puneet Goel from comment #0)
> > This is one of the corner cases that I could reduce.
> 
> -       return (zoo).frop();
> +       return frop(zoo);
> 
> Note with the above change it compiles successfully.

That specific case seems to be running fine with today's compiler.

--


More information about the Digitalmars-d-bugs mailing list