www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 15251] New: std.datetime bug with -inline

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

          Issue ID: 15251
           Summary: std.datetime bug with -inline
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: trikko katamail.com

Created attachment 1559
  --> https://issues.dlang.org/attachment.cgi?id=1559&action=edit
Minimized test case

The attached code doesn't work with 2.069rc1.
It works with beta.

It says:
Error: cannot cast cast(ubyte)20u to void at compile time

--
Oct 27 2015