Summary: SysTime should not be hasUnsharedAliasing
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from SHOO <> 2011-09-10 07:13:19 PDT ---
This code should work:
import core.time;
import std.traits, std.datetime;

static assert(!hasUnsharedAliasing!Duration);
static assert(!hasUnsharedAliasing!TickDuration);
static assert(!hasUnsharedAliasing!Date);
static assert(!hasUnsharedAliasing!TimeOfDay);
static assert(!hasUnsharedAliasing!DateTime);
static assert(!hasUnsharedAliasing!SysTime);

void main() {}
$ dmd -run main
main.d(9): Error: static assert  (!true) is false

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to