[Issue 9418] Segmentation fault using only datetime and stdio.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 5 08:54:33 PST 2013
http://d.puremagic.com/issues/show_bug.cgi?id=9418
Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |andrej.mitrovich at gmail.com
Platform|x86 |All
OS/Version|Linux |All
--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-02-05 08:54:30 PST ---
How strange, what is the tilde operating on in this code? For example:
import std.datetime;
import std.stdio;
void main()
{
auto x1 = ~Clock; // NG
auto x2 = ~Clock.currTime(); // NG
auto x3 = ~Clock.currTime().toISOString(); // NG
auto x4 = Clock.currTime().toISOString()[0 .. 8];
auto x5 = ~x4; // NG
auto x5 = ~Clock.currTime().toISOString()[0 .. 8]; // works?!
}
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list