www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22408] New: Multiple issues in AllImplicitConversionTargets

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

          Issue ID: 22408
           Summary: Multiple issues in AllImplicitConversionTargets
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: phobos
          Assignee: nobody puremagic.com
          Reporter: andrei erdani.com

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

--
Oct 17 2021