Bug 22408 – Multiple issues in AllImplicitConversionTargets

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-10-17T14:02:46Z
Last change time
2021-10-26T08:13:05Z
Keywords
pull
Assigned to
No Owner
Creator
Andrei Alexandrescu

Comments

Comment #0 by andrei — 2021-10-17T14:02:46Z
According to AllImplicitConversionTargets: * short does not convert to wchar and dchar * ushort does not convert to wchar and dchar * int does not convert to dchar * uint does not convert to dchar * long does not convert to cent and ucent (where available) * ulong does not convert to cent and ucent (where available) * typeof(null) converts to itself, but the implementation takes pain to NOT list the type itself in its conversion list * void* converts to itself, but the implementation takes pain to NOT list the type itself in its conversion list
Comment #1 by dlang-bot — 2021-10-17T14:22:13Z
@andralex created dlang/phobos pull request #8291 "Fix Issue 22408 - Multiple issues in AllImplicitConversionTargets" fixing this issue: - Fix Issue 22408 - Multiple issues in AllImplicitConversionTargets https://github.com/dlang/phobos/pull/8291
Comment #2 by dlang-bot — 2021-10-26T08:13:05Z
dlang/phobos pull request #8291 "Fix Issue 22408 - Multiple issues in AllImplicitConversionTargets" was merged into master: - c9f94d2461825ea74db9a9c8daca11db43182f4b by Andrei Alexandrescu: Fix Issue 22408 - Multiple issues in AllImplicitConversionTargets https://github.com/dlang/phobos/pull/8291