[Issue 18035] super does not work properly for template base classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue May 9 13:36:14 UTC 2023


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |razvan.nitu1305 at gmail.com
         Resolution|---                         |WORKSFORME

--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Today `super` is no longer usable in static contexts, therefore you get errors
that `super.fun` is undefined.

Using `typeof(super).fun` makes the code compile. Arguably, the error could be
improved.

--


More information about the Digitalmars-d-bugs mailing list