[Issue 15049] bad error message when trying to instantiate a nested class in a static method
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Sep 7 14:06:20 UTC 2022
https://issues.dlang.org/show_bug.cgi?id=15049
Nick Treleaven <nick at geany.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nick at geany.org
Resolution|--- |FIXED
--- Comment #1 from Nick Treleaven <nick at geany.org> ---
With v2.100.2-beta.1-dirty, each of these gives:
staticnewnested.d(7): Error: cannot construct nested class `SingleStore`
because no implicit `this` reference to outer class `MyStore` is available
--
More information about the Digitalmars-d-bugs
mailing list