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

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 13 08:40:11 UTC 2020


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #4 from Walter Bright <bugzilla at digitalmars.com> ---
(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.

--


More information about the Digitalmars-d-bugs mailing list