Thread overview
[Issue 16395] auto return on override
Aug 16, 2016
greenify
Aug 16, 2016
Lodovico Giaretta
Aug 16, 2016
greenify
Dec 17, 2022
Iain Buclaw
August 16, 2016
https://issues.dlang.org/show_bug.cgi?id=16395

greenify <greeenify@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |greeenify@gmail.com

--- Comment #1 from greenify <greeenify@gmail.com> ---
> Currently I have two options:

3) use structs (they are usually used for ranges anyways). With alias this and
mixins you can get a pretty decent inheritance, but of course I don't know your
code ;-)

--
August 16, 2016
https://issues.dlang.org/show_bug.cgi?id=16395

Lodovico Giaretta <lodovico@giaretart.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lodovico@giaretart.net

--- Comment #2 from Lodovico Giaretta <lodovico@giaretart.net> ---
(In reply to greenify from comment #1)
> > Currently I have two options:
> 
> 3) use structs (they are usually used for ranges anyways). With alias this
> and mixins you can get a pretty decent inheritance, but of course I don't
> know your code ;-)

True in general, but not really an option for my code (I need a certain amount of runtime polymorphism).

Regardless of my example, which I solved with option 2, the question of this issue is "is this feasible to implement? If it is, why not have it? If it's not, fair enough."

--
August 16, 2016
https://issues.dlang.org/show_bug.cgi?id=16395

--- Comment #3 from greenify <greeenify@gmail.com> ---
> True in general, but not really an option for my code (I need a certain amount of runtime polymorphism).

I thought so :/

> Regardless of my example, which I solved with option 2, the question of this issue is "is this feasible to implement? If it is, why not have it? If it's not, fair enough."

I do agree that it's a bug / missing feature.
If you want to get" dirty" yourself, I can highly recommend Walter's video from
Dconf16

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=16395

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
December 13
https://issues.dlang.org/show_bug.cgi?id=16395

--- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> ---
THIS ISSUE HAS BEEN MOVED TO GITHUB

https://github.com/dlang/dmd/issues/19170

DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB

--