[Issue 5908] Optimizer generates wrong value with divide-by-zero.

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5908 Domingo Alvarez Duarte mingo...@gmail.com changed: What|Removed |Added Keywords||EH, safe

[Issue 8464] debug too strict from function attributes

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8464 --- Comment #5 from hst...@quickfur.ath.cx --- This came up in a recent PR, where assumeUTF has a `debug validate(s)` line to run a validation check on the input ubyte[]/short[]/int[] in order to catch user error when passing in invalid data. Since

[Issue 13068] std.typecons.Unique should disable postblit

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13068 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/16db4ef6b4ba3d52abdf9bb7ac63b0f2c8c03c8e Fix Issue 13068 -

[Issue 13068] std.typecons.Unique should disable postblit

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13068 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13168] New: cast(ref T) should work, along with support from opCast

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13168 Issue ID: 13168 Summary: cast(ref T) should work, along with support from opCast Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW

[Issue 13167] New: Link errors with std.variant

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13167 Issue ID: 13167 Summary: Link errors with std.variant Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: normal Priority: P1

[Issue 13169] New: Optimization - final switch need not check for default case

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13169 Issue ID: 13169 Summary: Optimization - final switch need not check for default case Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW

[Issue 13169] Optimization - final switch need not check for default case

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13169 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Hardware|x86_64 |All

[Issue 13154] Incorrect init of static float array when sliced

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13154 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/f27f205d17ca44ed0984961b0a8f4ab54fb44b13 Merge pull request #3783 from

[Issue 13159] std.socket.getAddress allocates once per DNS lookup hit

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13159 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/96893cbf467524d05d9f8b0f51398585ca77a423 Pre-allocate result

[Issue 12833] switch statement does not work properly when -inline used

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12833 --- Comment #5 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/72af20199bc1caaab8a4457a5960bcbb677457c6 Merge pull request #3776 from

[Issue 13161] Wrong offset of extern(C++) class member

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13161 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2bbe5ee38374a5e6cedad80b2b6cc9c203f75f38 Merge pull request #3785 from

[Issue 13170] New: Optimizer - improve branch prediction for final switch

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13170 Issue ID: 13170 Summary: Optimizer - improve branch prediction for final switch Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 13170] Optimizer - improve branch prediction for final switch

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13170 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Keywords||performance --

[Issue 13159] std.socket.getAddress allocates once per DNS lookup hit

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13159 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13113] cannot build druntime's gc.d with -debug=INVARIANT, bad @nogc inference?

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13113 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13171] std.algorithm.until(range, sentinel, OpenRight.no) doesn't propagate popping of sentinel to range

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13171 Nils nilsboss...@googlemail.com changed: What|Removed |Added Keywords||pull --- Comment #1 from

[Issue 13172] New: optimize and rawread cause symbol undefined errors

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13172 Issue ID: 13172 Summary: optimize and rawread cause symbol undefined errors Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 13171] New: std.algorithm.until(range, sentinel, OpenRight.no) doesn't propagate popping of sentinel to range

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13171 Issue ID: 13171 Summary: std.algorithm.until(range, sentinel, OpenRight.no) doesn't propagate popping of sentinel to range Product: D Version: D2 Hardware: All

[Issue 13158] void has no value in std.variant.Algebraic (affects D:YAML)

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13158 David Nadlinger c...@klickverbot.at changed: What|Removed |Added CC||c...@klickverbot.at

[Issue 13113] cannot build druntime's gc.d with -debug=INVARIANT, bad @nogc inference?

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13113 --- Comment #10 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/ac4de32709c2fafd0bd73222458f6899e0e2641c fix Issue 13113 - cannot

[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #22 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/d9e770828558b9ad5578e6d02bbe5ee54b493326 fix Issue 9449 - Static

[Issue 13169] Optimization - final switch need not check for default case

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13169 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added CC||and...@erdani.com

[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #23 from github-bugzi...@puremagic.com --- Commit pushed to dmd-1.x at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/eaef472a9e4ded15360a8a8de9c36b8b3cd07059 fix Issue 9449 - Static

[Issue 13148] ModuleInfo fields are unnecessary changed to const

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13148 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/afd14d90d6cea01419faa9686fa42ccb3782fa7e Merge pull request

[Issue 13138] add peek/poke as compiler intrinsics

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13138 --- Comment #3 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/366102264fdfd471dadac6409c00733f3a452bd3 Merge pull request #3773

[Issue 13173] New: Store reordering in core.thread / volatile fence

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13173 Issue ID: 13173 Summary: Store reordering in core.thread / volatile fence Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: normal

[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9449 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 13174] shared ~this() conflicts with this()

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13174 Vlad Levenfeld vlevenf...@gmail.com changed: What|Removed |Added CC||vlevenf...@gmail.com

[Issue 13174] New: shared ~this() conflicts with this()

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13174 Issue ID: 13174 Summary: shared ~this() conflicts with this() Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical

[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13152 --- Comment #6 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/5b600897e007b28fd33584eda164844f4dc942ed fix Issue 13152 - Compiler

[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #25 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/7a12ad9615931b5247c7c1d5fa29d969cc6aa1cc Merge pull request #3784 from

[Issue 13177] New: There may be a problem with std.bitmanip.BitArray and the in operator of associative arrays?

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13177 Issue ID: 13177 Summary: There may be a problem with std.bitmanip.BitArray and the in operator of associative arrays? Product: D Version: D2 Hardware: x86_64 OS:

[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13152 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #5 from

[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13152 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9449] Static arrays of 128bit types segfault on initialization. Incorrect calling of memset128ii.

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9449 --- Comment #24 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/druntime https://github.com/D-Programming-Language/druntime/commit/ff80144f49f7ca8dd376a8ce671c1600d033506a Merge pull request

[Issue 13176] core.time should allow conversions of floating-point values too

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13176 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added CC|

[Issue 13152] [REG2.064.2] Compiler high cpu usage and never ends

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13152 --- Comment #7 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/84874c7e4dd96f0e0e745252263174d3502056d3 Merge pull request #3790 from

[Issue 13175] New: [D1] ICE on conflicting overloads in presense of default __FILE__/__LINE__

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13175 Issue ID: 13175 Summary: [D1] ICE on conflicting overloads in presense of default __FILE__/__LINE__ Product: D Version: D1 Hardware: x86_64 OS: Linux

[Issue 13113] cannot build druntime's gc.d with -debug=INVARIANT, bad @nogc inference?

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13113 --- Comment #11 from github-bugzi...@puremagic.com --- Commit pushed to 2.066 at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/2c4668be4ff2a538c321c3efd55b96dad9330537 Merge pull request #3775

[Issue 13176] New: core.time should allow conversions of floating-point values too

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13176 Issue ID: 13176 Summary: core.time should allow conversions of floating-point values too Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 13177] There may be a problem with std.bitmanip.BitArray and the in operator of associative arrays?

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13177 cvbcvb bfgu...@gmail.com changed: What|Removed |Added OS|Windows |Linux --

[Issue 13018] std.string.translate needs mutable translation table

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13018 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/44d97ed1cb228259a4fea3451365c3f1bd87bfb4 issue 13018:

[Issue 13158] void has no value in std.variant.Algebraic (affects D:YAML)

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13158 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 Steven Schveighoffer schvei...@yahoo.com changed: What|Removed |Added CC||schvei...@yahoo.com

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #9 from Jonathan M Davis jmdavisp...@gmx.com --- (In reply to Steven Schveighoffer from comment #8) Note, the indicated mechanism to make a proper duration has improved somewhat: 1.second + 500.msecs + 100.usecs; I think this still

[Issue 13178] New: Duplicate symbol of compiler generated symbols

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13178 Issue ID: 13178 Summary: Duplicate symbol of compiler generated symbols Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: regression

[Issue 13179] New: AA key type TagIndex now requires equality rather than comparison

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13179 Issue ID: 13179 Summary: AA key type TagIndex now requires equality rather than comparison Product: D Version: D2 Hardware: x86 OS: Mac OS X Status:

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #10 from Steven Schveighoffer schvei...@yahoo.com --- (In reply to Jonathan M Davis from comment #9) (In reply to Steven Schveighoffer from comment #8) Note, the indicated mechanism to make a proper duration has improved somewhat:

[Issue 13179] AA key type TagIndex now requires equality rather than comparison

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13179 --- Comment #1 from Jacob Carlborg d...@me.com --- Reduced test case: struct TagIndex { uint tag, index; const int opCmp(ref const TagIndex o) { if (tag == o.tag index == o.index) return 0; if (tag o.tag)

[Issue 13175] [D1] ICE on conflicting overloads in presense of default __FILE__/__LINE__

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13175 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #11 from Jonathan M Davis jmdavisp...@gmx.com --- (In reply to Steven Schveighoffer from comment #10) I was just going by the example you gave. You could do it in 2 pieces, but then you start getting into much larger numbers: 1.second

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #12 from Vladimir Panteleev thecybersha...@gmail.com --- I'd just like to point out that there are more uses to FP time values than literals, such as user input. A template which accepts a string as a compile-time parameter solves none of

[Issue 13175] [D1] ICE on conflicting overloads in presense of default __FILE__/__LINE__

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13175 --- Comment #2 from Dicebot pub...@dicebot.lv --- Hm, issue was reproduced using build from commit 73c30d1ddc0008c68a7796d5f1dbaa76e77ba841 I will try checking out most recent dmd-1.x HEAD tomorrow --

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #13 from Jonathan M Davis jmdavisp...@gmx.com --- (In reply to Vladimir Panteleev from comment #12) I'd just like to point out that there are more uses to FP time values than literals, such as user input. A template which accepts a

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #14 from Vladimir Panteleev thecybersha...@gmail.com --- while being a royal pain for anyone who wanted to use floating point values for time directly I think that's objectively false: just add `.text` --

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #15 from Steven Schveighoffer schvei...@yahoo.com --- (In reply to Jonathan M Davis from comment #11) I'm not opposed to something like durLit!(1.2552, seconds) which is then essentially a Duration literal which can be a floating point

[Issue 13179] AA key type TagIndex now requires equality rather than comparison

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13179 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

[Issue 13148] ModuleInfo fields are unnecessary changed to const

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13148 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #4 from

[Issue 13179] AA key type TagIndex now requires equality rather than comparison

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13179 --- Comment #2 from Kenji Hara k.hara...@gmail.com --- (In reply to Jacob Carlborg from comment #0) Building Tango with 2.066.0-b5 results in the following error: tango/text/Regex.d(2532): Error: AA key type TagIndex now requires equality rather

[Issue 13179] AA key type TagIndex now requires equality rather than comparison

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13179 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

[Issue 13179] AA key type TagIndex now requires equality rather than comparison

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13179 --- Comment #4 from hst...@quickfur.ath.cx --- (In reply to Kenji Hara from comment #2) [...] It's intended behavior, because compiler cannot know whether the generated opEquals is what programmer is expecting. [...] That doesn't make sense. The

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #16 from Jonathan M Davis jmdavisp...@gmx.com --- (In reply to Steven Schveighoffer from comment #15) (In reply to Jonathan M Davis from comment #11) I'm not opposed to something like durLit!(1.2552, seconds) which is then

[Issue 13084] ModuleInfo.opApply delegate expects immutable parameter

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13084 Martin Nowak c...@dawg.eu changed: What|Removed |Added CC||c...@dawg.eu --- Comment #30

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #17 from Vladimir Panteleev thecybersha...@gmail.com --- (In reply to Jonathan M Davis from comment #16) Would you honestly expect folks to be using to!string or text to convert floating point values to Durations in their code on a

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #18 from Jonathan M Davis jmdavisp...@gmx.com --- (In reply to Vladimir Panteleev from comment #17) (In reply to Jonathan M Davis from comment #16) Would you honestly expect folks to be using to!string or text to convert floating

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #19 from Vladimir Panteleev thecybersha...@gmail.com --- However, it's definitely more palatable than supporting floating point values directly, because that would just encourage bad practices. Honestly, I think this is a poor

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #20 from Jonathan M Davis jmdavisp...@gmx.com --- But honestly, is it really all that hard to just write a wrapper function? auto floatDur(string units)(real value) if(is(typeof(convert!(units, hnsecs)(1 { enum hnsecsPer =

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #21 from Vladimir Panteleev thecybersha...@gmail.com --- But honestly, is it really all that hard to just write a wrapper function? The argument can't you just put it in your code? can be applied to many things in the standard library. I

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #22 from Steven Schveighoffer schvei...@yahoo.com --- I think adding the 'best' way to convert a floating point to core.time may be better than saying 'roll your own, and deal with floating point issues'. Really, anyone can say:

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #23 from Jonathan M Davis jmdavisp...@gmx.com --- (In reply to Steven Schveighoffer from comment #22) (In reply to Jonathan M Davis from comment #16) Durations aren't as bad as timestamps, but it's still asking for trouble. This

[Issue 13180] New: [REG2.066a] AA get returns const(char[]) instead of string

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13180 Issue ID: 13180 Summary: [REG2.066a] AA get returns const(char[]) instead of string Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 13158] void has no value in std.variant.Algebraic (affects D:YAML)

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13158 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/75ffb6305b38edb05e4f132de7795e93df75a579 fix Issue 13158 - void has

[Issue 13158] void has no value in std.variant.Algebraic (affects D:YAML)

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13158 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 6725] core.time.dur should accept floating point

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6725 --- Comment #24 from Steven Schveighoffer schvei...@yahoo.com --- I think those concerns really don't apply here as much as you think. We are allowing the creation of durations via floating point numbers, not storing durations as floating point

[Issue 10500] Problem with length property when using variant

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10500 Kapps opantm2+db...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 13181] New: install target broken

2014-07-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13181 Issue ID: 13181 Summary: install target broken Product: D Version: D2 Hardware: x86 OS: Linux Status: NEW Severity: regression Priority: P1