Thread overview
[Issue 20756] ImplicitConversionTargets ignores interface inheritance
Apr 21, 2020
Dlang Bot
May 24, 2020
Nathan S.
May 24, 2020
FeepingCreature
Apr 27, 2021
Dlang Bot
Apr 27, 2021
Dlang Bot
Apr 27, 2021
FeepingCreature
April 21, 2020
https://issues.dlang.org/show_bug.cgi?id=20756

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot@dlang.rocks> ---
@FeepingCreature created dlang/phobos pull request #7453 "Fix/issue 20756 implicitconversiontargets interfaces" fixing this issue:

- Fix issue 20756: support interfaces in ImplicitConversionTargets

https://github.com/dlang/phobos/pull/7453

--
May 24, 2020
https://issues.dlang.org/show_bug.cgi?id=20756

Nathan S. <n8sh.secondary@hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |n8sh.secondary@hotmail.com
           Hardware|x86_64                      |All
                 OS|Linux                       |All
           Severity|minor                       |enhancement

--- Comment #2 from Nathan S. <n8sh.secondary@hotmail.com> ---
Changed from 'bug' to 'enhancement' since the behavior of
ImplicitConversionTargets is correct for its documentation:
```
    If the type is not a built-in value type or a class derived from
    `Object`, the an empty $(REF AliasSeq,std,meta) is returned.
```

--
May 24, 2020
https://issues.dlang.org/show_bug.cgi?id=20756

--- Comment #3 from FeepingCreature <default_357-line@yahoo.de> ---
I would argue that then the documentation is another bug. A template called "ImplicitConversionTargets" can be reasonably expected to return implicit conversion targets.

--
April 27, 2021
https://issues.dlang.org/show_bug.cgi?id=20756

--- Comment #4 from Dlang Bot <dlang-bot@dlang.rocks> ---
@FeepingCreature created dlang/phobos pull request #8016 "Fix issue 20756: Handle interface argument in `AllImplicitConversionTargets`." fixing this issue:

- Fix issue 20756: Handle interface argument in `AllImplicitConversionTargets`.

https://github.com/dlang/phobos/pull/8016

--
April 27, 2021
https://issues.dlang.org/show_bug.cgi?id=20756

Dlang Bot <dlang-bot@dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Dlang Bot <dlang-bot@dlang.rocks> ---
dlang/phobos pull request #8016 "Fix issue 20756: Handle interface argument in `AllImplicitConversionTargets`." was merged into master:

- 3e619db79c6e4e33c2cf39de213f3a097e3d9951 by Mathis Beer:
  Fix issue 20756: Handle interface argument in `AllImplicitConversionTargets`.

https://github.com/dlang/phobos/pull/8016

--
April 27, 2021
https://issues.dlang.org/show_bug.cgi?id=20756

--- Comment #6 from FeepingCreature <default_357-line@yahoo.de> ---
ImplicitConversionTargets has been deprecated. AllImplicitConversionTargets supports interface inheritance.

--