[Issue 21280] New: No error output "cast(ubyte[4])("ABCDEF"[0..4]);"

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Sep 27 01:20:47 UTC 2020


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

          Issue ID: 21280
           Summary: No error output "cast(ubyte[4])("ABCDEF"[0..4]);"
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: sdvcn at 126.com

//code:
auto v = cast(ubyte[4])("ABCDEF"[0..4]);

/*
The compiler does not output any information
*/

--


More information about the Digitalmars-d-bugs mailing list