Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
September 10, 2011 [Issue 6642] New: SysTime should not be hasUnsharedAliasing | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=6642 Summary: SysTime should not be hasUnsharedAliasing Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: zan77137@nifty.com --- Comment #0 from SHOO <zan77137@nifty.com> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 10, 2011 [Issue 6642] SysTime should not be hasUnsharedAliasing | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=6642 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jmdavisProg@gmx.com --- Comment #1 from Jonathan M Davis <jmdavisProg@gmx.com> 2011-09-10 16:07:21 PDT --- I would assume that the problem is that std.traits.hasUnsharedAliasing can't properly handle SysTime's _timezone member variable (which is Rebindable!(immutable TimeZone)). Glancing at hasUnsharedAliasing, I would guess that hasUnsharedObjects needs to be fixed to take Rebindable into account. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
December 05, 2011 [Issue 6642] SysTime should not be hasUnsharedAliasing | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=6642 --- Comment #2 from SHOO <zan77137@nifty.com> 2011-12-05 06:44:20 PST --- https://github.com/D-Programming-Language/phobos/pull/350 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
April 27, 2012 [Issue 6642] SysTime should not be hasUnsharedAliasing | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=6642 SomeDude <lovelydear@mailmetrash.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lovelydear@mailmetrash.com --- Comment #3 from SomeDude <lovelydear@mailmetrash.com> 2012-04-27 14:49:19 PDT --- Compiles and runs fine with 2.059 Win32 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
June 04, 2012 [Issue 6642] SysTime should not be hasUnsharedAliasing | ||||
---|---|---|---|---|
| ||||
Posted in reply to SHOO | http://d.puremagic.com/issues/show_bug.cgi?id=6642 Jonathan M Davis <jmdavisProg@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation