[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/1737bea648d961dbc1a03dc0eb2babe2d66c322f
fix Issue 15729 - broken debug info for libraries

- need to reset fake symbols that are only
  generated for debug types (struct, enum)
  or the cached Stypidx will erroneously be
  used for the next object file

https://github.com/D-Programming-Language/dmd/commit/ed13c690af3c2910e648d86e51808d60542cebc0
Merge pull request #5548 from MartinNowak/fix15729

fix Issue 15729 - broken debug info for libraries

--


[Issue 15815] [REG2.071-devel] deprecation for aliased template instance not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15815

Kenji Hara  changed:

   What|Removed |Added

   Keywords||diagnostic, pull
Summary|[Reg 2.071-devel]   |[REG2.071-devel]
   |deprecation for aliased |deprecation for aliased
   |template instance not shown |template instance not shown

--- Comment #2 from Kenji Hara  ---
https://github.com/D-Programming-Language/dmd/pull/5558

--


[Issue 15455] [REG v2.065] Compiler segfault for simple nested structure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15455

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15455] [REG v2.065] Compiler segfault for simple nested structure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15455

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/414e10b3e3f5ecfa58b5be24c5e490a43281510f
fix Issue 15455 - [REG v2.065] Compiler segfault for simple nested structure

https://github.com/D-Programming-Language/dmd/commit/c30a55a31e97f7eb8ba80a578ec4a6a6386b5679
Merge pull request #5551 from 9rnsr/fix15455

[REG v2.065] Issue 15455 - Compiler segfault for simple nested structure

--


[Issue 15815] [Reg 2.071-devel] deprecation for aliased template instance not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15815

--- Comment #1 from Kenji Hara  ---
(In reply to Martin Nowak from comment #0)
> Introduced by https://github.com/D-Programming-Language/dmd/pull/5302, but
> it seems like this already didn't work before for e.g. variable declarations.

No, it has been introduced in:
https://github.com/D-Programming-Language/dmd/pull/5009

--


[Issue 15457] Symbol Undefined __lseeki64

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15457

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #3 from Walter Bright  ---
https://github.com/D-Programming-Language/phobos/pull/4095

--


[Issue 15513] Memory Corruption with thread local objects

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15513

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15513] Memory Corruption with thread local objects

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15513

--- Comment #7 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/09419a101116c0439bc16b5e898fe45fd1b553bd
fix regression tests for fixed Issue 15513

- the existing tls GC test weren't working b/c the scanned stack region
  still contained references to the allocated values

https://github.com/D-Programming-Language/druntime/commit/5fe4cd967d3df000a7d6e93bb3fc077b859b2e6b
Merge pull request #1510 from MartinNowak/fixup1507

fix regression tests for fixed Issue 15513

--


[Issue 15783] Junk is written into environment variable after assigning null to it

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15783

e10s  changed:

   What|Removed |Added

 CC||electrolysis.j...@gmail.com

--- Comment #1 from e10s  ---
Test case:

import std.conv;
import std.stdio;
import std.string;
import core.sys.posix.stdlib;

void main()
{
immutable key = "".toStringz;
foreach (i; 0 .. 100)
{
setenv(key, null, 1);
const r = getenv(key);
if (r && *r)
{
writefln("%s %s %s", i, r, r.to!string);
}
}
}

Result:
http://melpon.org/wandbox/permlink/cqfITPRJMSKOD60q

It's terrible. What does getenv return?

--


[Issue 4431] Template favors alias parameter for struct

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4431

Kenji Hara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Kenji Hara  ---


*** This issue has been marked as a duplicate of issue 1659 ***

--


[Issue 15803] std.file should support sub-second file time precision on POSIX

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15803

Vladimir Panteleev  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #2 from Vladimir Panteleev  ---
https://github.com/D-Programming-Language/phobos/pull/4089

--


[Issue 15662] Cannot move struct with defined opAssign due to @disabled post-blit

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15662

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu

--- Comment #10 from Martin Nowak  ---
(In reply to Dicebot from comment #9)
> Yes, this is close to what I had in mind (main difference is that I need
> re-allocation to be allowed too, invalidating previous block, but that is
> also trivially doable).

You can't really do what you want w/o being the sole owner of the underlying
array. If that's guaranteed, i.e. noone else has a slice or any other
reference, you can just realloc and bit blit.
So it'd be very unsafe for blank arrays (b/c they allow escaping), but a custom
array wrapper/implementation would work.

--


[Issue 15455] [REG v2.065] Compiler segfault for simple nested structure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15455

Walter Bright  changed:

   What|Removed |Added

   Keywords||C++
 CC||bugzi...@digitalmars.com

--- Comment #3 from Walter Bright  ---
https://github.com/D-Programming-Language/dmd/pull/5550

--


[Issue 15815] New: [Reg 2.071-devel] deprecation for aliased template instance not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15815

  Issue ID: 15815
   Summary: [Reg 2.071-devel] deprecation for aliased template
instance not shown
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: regression
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: c...@dawg.eu

cat > bug.d 

[Issue 15782] [Reg 2.071-devel] Alias no longer strips qualifiers from user defined types

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15782

Martin Nowak  changed:

   What|Removed |Added

Summary|[Reg 2.071-devel] something |[Reg 2.071-devel] Alias no
   |about the const/non-const   |longer strips qualifiers
   |types in TypeTuples changed |from user defined types

--


[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729

Martin Nowak  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #4 from Martin Nowak  ---
https://github.com/D-Programming-Language/dmd/pull/5548

--


[Issue 15729] [REG(master)] broken debug info for libraries

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15729

Martin Nowak  changed:

   What|Removed |Added

Summary|[REG(master)] broken|[REG(master)] broken debug
   |library causes OPTLINK  |info for libraries
   |error 162 and 163   |

--


[Issue 15452] Document typo of a new predefined version identifier 'CRuntime_DigitalMars'

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15452

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/baac1728082ab98683667c3cca5a7da9a88e2a48
Issue 15452 - Document typo of a new predefined version identifier
'CRuntime_DigitalMars'

https://github.com/D-Programming-Language/dlang.org/commit/f56d95783c777aa0fb5d4bbb66edba1018b751ba
Merge pull request #1168 from qchikara/patch-1

--


[Issue 15344] m32mscoff switch missing from documentation.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15344

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/a53e464d841a48ee927b09f0abed46375a3f4e8b
add missing documentation for switches

--


[Issue 15453] Check for a wrong predefined version identifier CRuntime_Digitalmars

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15453

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f3d5e80026fad96c386efec1888020c4c3905fc3
Issue 15453 - Check for a wrong predefined version identifier
CRuntime_Digitalmars

https://github.com/D-Programming-Language/dmd/commit/86c831a87da76c46261b8a88c5f436470df92ae1
Merge pull request #5332 from qchikara/patch-1

--


[Issue 15610] extern(C++) multiple inheritance - calling with wrong 'this' ptr

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15610

--- Comment #9 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/f46f2197f458b4f242484b486302a383e70ceac4
fix Issue 15610 - extern(C++) multiple inheritance - calling with wrong 'this'
ptr

https://github.com/D-Programming-Language/dmd/commit/84f6aaf592c6b4526a24f43d1bbdca77b4943b74
Merge pull request #5372 from WalterBright/fix15610

--


[Issue 15535] Emit error on "goto default" in final switch

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15535

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/3e245ec352f97705e7fe383f9b6a350c14d29148
fix Issue 15535 - Disallow "goto default" in final switches.

https://github.com/D-Programming-Language/dmd/commit/8968b7bf8a3be265d348e3d5477ec5485938ad02
Merge pull request #5343 from JohanEngelen/fail15535

--


[Issue 14895] ICE on array operation when its result is concatenated

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14895

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/67392afd2bb489e48a8234d96077f4579e05b511
fix Issue 14895 - ICE on array operation when its result is concatenated

https://github.com/D-Programming-Language/dmd/commit/ed197e17dd1736f1f608267339162c22c2b4fb57
Merge pull request #4873 from 9rnsr/fix14895

--


[Issue 15586] std.utf.toUTF8() segfaults when fed an invalid dchar

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15586

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/2b09b8b59cc94ff23f52f3d18212c727d3e89d7b
Fix Phobos issue #15586 - std.utf.toUTF8() halts on invalid dchar.

https://github.com/D-Programming-Language/phobos/commit/cadc8197614dac7313ffc44dd4e81c51c17ee8f3
Merge pull request #3943 from tsbockman/dchar-crash

--


[Issue 15376] The time zone name conversions should not be compiled into Phobos

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15376

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/635cecee557bf5e82b2f614dd19e41383505c3f7
Fix for issue# 15376. Get time zone conversions at runtime.

https://github.com/D-Programming-Language/phobos/commit/6be2087858765bdf8b3439ba9cfc4fc2d5e543a7
Merge pull request #3824 from jmdavis/issue15376

--


[Issue 15545] csv Reader line feed '\r' failure

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15545

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/82d6dbf8175055e1851bd6601dc20d0f5649e2f7
fix issue 15545, csv Reader line feed '\r' failure

https://github.com/D-Programming-Language/phobos/commit/deaee8521c408f5e08749bff1f8b129d5522f685
Merge pull request #3917 from BBasile/issue-15545

--


[Issue 15696] The website logo overlaps the Learn tab when using Microsoft Edge

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15696

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/ddd446a3640cf6476c8aba787e994c63ac8daa9d
make logo width explicit

--


[Issue 15578] Should have access to namespace private symbols from same module

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15578

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/92e637e5f3b148c923aeeed3b401d6e628e0cf4e
fix Issue 15578 - Should have access to namespace private symbols from same
module

https://github.com/D-Programming-Language/dmd/commit/22b1c0bbe66a0c28bdfe87e1e7cadffc4426a751
Merge pull request #5358 from WalterBright/fix15578.d

--


[Issue 15579] extern(C++) interfaces/multiple-inheritance

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15579

--- Comment #12 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/316f2e900dc16ce1351a305c58bad287b2855ad5
fix Issue 15579 - extern(C++) interfaces/multiple-inheritance

https://github.com/D-Programming-Language/dmd/commit/c6ac10aed0f7dc76112e576204e3a1e8ea307dbd
Merge pull request #5361 from WalterBright/fix15579

https://github.com/D-Programming-Language/dmd/commit/073ac6b496971015fc8cce08abea394093d75982
2nd try fix Issue 15579 - extern(C++) interfaces/multiple-inheritance

https://github.com/D-Programming-Language/dmd/commit/b4ac93569071d17ea08fdce017f20c02dc6b727c
Merge pull request #5364 from WalterBright/fix15579-2

--


[Issue 12748] ICE: Using typeof(S.init[0]) in type name specialization.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12748

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0a1b380861b21e8218f8d0185e96e5b6a8f33228
fix Issue 12748 - ICE: Using typeof(S.init[0]) in type name specialization

https://github.com/D-Programming-Language/dmd/commit/cdb49cdd575c2d37f044ebf1aa0f1f0670ebcc61
Merge pull request #4910 from 9rnsr/fix12748

--


[Issue 314] [module] Static, renamed, and selective imports are always public

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=314

--- Comment #56 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/03ec7f38bd29d1c6eb851e4516b74370345e9e49
Don't use top-level selective import in std.math because of DMD issue 314.

https://github.com/D-Programming-Language/phobos/commit/33dbfa819fafd4d78378b9ca0e5086ffe824d485
Merge pull request #3961 from tsbockman/math_import_fix

--


[Issue 15276] Allow specification of shell for spawnShell/executeShell/pipeShell

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15276

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/963f7e4170fd02aa07c95562f2554807a8fe9178
Issue 15276: Allow users to specify shell for executeShell, pipeShell,
spawnShell

https://github.com/D-Programming-Language/phobos/commit/9284ee864c38eb062a4bcd57b4a44556fe878b94
Merge pull request #3900 from markisaa/issue_15276

--


[Issue 15471] Show example of associative array initialization in documentation

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15471

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/6eed593864fc4530539851d7e44138c42f04a7e6
Merge pull request #1180 from markisaa/issue_15471

--


[Issue 15561] std.typecons.Proxy gets NaN comparisons wrong

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15561

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/563879ae6ffa40e2ed847235a6d95d214e274693
Fix Issue 15561

https://github.com/D-Programming-Language/phobos/commit/22615a8e57bd01e782ca342da42e128e23bda11c
Merge pull request #3927 from John-Colvin/patch-12

--


[Issue 12829] Wrong error line number for closure allocation in @nogc function

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12829

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a457c8b627123fdb5e6ccf2b130e4d54c1329a56
fix Issue 12829 - Wrong error line number for closure allocation in @nogc
function

https://github.com/D-Programming-Language/dmd/commit/10a0aa2bda569cb6efbb29f4c9f31aeca9685c46
Merge pull request #4855 from 9rnsr/fix12829

--


[Issue 15353] std.experimental.allocator cannot free memory in its destructor if the GC is an ancestor

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15353

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/1113bf1476ca66bac8a25bea4598daf6fb4bd598
fix Issue 15353 - ignore freeing during finalization

https://github.com/D-Programming-Language/druntime/commit/f7604efbc6572ce62a8f0e5617b42d65815979bb
Merge pull request #1508 from MartinNowak/fix15353

--


[Issue 15543] [ndslice] assumeSameStructure has useless flag

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15543

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/fe6353028f4ff260aa775c72276759e5c5552673
[one line review]  fix Issue 15543

https://github.com/D-Programming-Language/phobos/commit/3641f466f98164f5d4922682277e264d2fced62c
Merge pull request #3919 from 9il/patch-5

--


[Issue 12954] deprecated doesn't work with concatenated strings or anything else but a string literal

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12954

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/ffdb17cde12300f4755ecbd516e7ab6e577c628a
Merge pull request #1229 from Geod24/deprecated-assignexp-pr5302-issue12954

--


[Issue 15628] Exceptions in fibers never caught with /SAFESEH

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15628

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/44285e90d946f677273e9d8365af7862c2ff1c9b
Merge pull request #1489 from rainers/safeseh_fibers

--


[Issue 14788] Incorrect rejection of inout function call

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14788

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/565ff8d8c6496208dd51c751a9b1d947b70dd36c
fix Issue 14788 - Incorrect rejection of inout function call

https://github.com/D-Programming-Language/dmd/commit/0a15e859e6ffb5e7180bf49169f61da998d4466a
Merge pull request #4810 from 9rnsr/fix14788

--


[Issue 15644] Change object layout ABI to MI style

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15644

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/701641c78081fe23d2345fd2edc184e9e7ea2038
fix Issue 15644 - Switch object layout ABI to MI style

https://github.com/D-Programming-Language/dlang.org/commit/990c42dff8af698320db91135db7e990eb8849bd
Merge pull request #1225 from WalterBright/fix15644

--


[Issue 564] Setting predefined versions on the command line causes crashes

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=564

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/f20a94b0979313a20df8f5e28ce7f37878e3e975
remove workaround dub issue #564

--


[Issue 15389] extern(C++) forward referencing problem

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15389

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/11d309ff1c766715e06671bbb586809a9b0d5af8
fix Issue 15389 - extern(C++) forward referencing problem

https://github.com/D-Programming-Language/dmd/commit/b21432a31061b7106c3d2d9f0d4b42a2faa070e0
Merge pull request #5330 from WalterBright/fix15389

--


[Issue 15407] Assert hit in toElem e2ir.c:1962

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15407

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/49febeb29ef9aad6ef301fb5e14a896d2aba3a59
fix Issue 15407 - Assert hit in toElem e2ir.c:1962

https://github.com/D-Programming-Language/dmd/commit/cd200e3fda2252433f28967ed0ad2534b137e0bf
Merge pull request #5303 from 9rnsr/fix15407

--


[Issue 15697] The script for This Week in D is served over HTTP even when accessing the website over HTTPs.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15697

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/c3352c0d842bb77e439e8e1324c1890f0ea4810c
Fix issue 15697 - The TWID script is always served over HTTP

https://github.com/D-Programming-Language/dlang.org/commit/2ceda72b23380f69c9216a1dc479522f85065b23
Merge pull request #1238 from Kapps/patch-1

--


[Issue 10987] Add documentation for 'extern (C++)' classes

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10987

--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/04427d2bf9030725c0cb79328d67ea6762599917
Update cpp_interface.dd for recent developments

--


[Issue 14972] Documentation for std.windows.* missing

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14972

--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/34235001210526431ddf910be2f805cbb62172fb
Merge pull request #1083 from quickfur/windows_docs

--


[Issue 15532] [ndslice] iota(5).sliced(2,2) should throw error

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15532

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/6ec96dd62321b4b1355e28b5e942fd61bace1db9
fix Issue 15532 and fix Issue 15540

https://github.com/D-Programming-Language/phobos/commit/528573f0c4f503f31f909e38960a384bb6c34081
Merge pull request #3931 from 9il/ndslice1

--


[Issue 15553] topN very inefficient [slower than sort, even for topN(0)] but should be O(n)

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15553

--- Comment #6 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/10da3381c1d8d92ba8f0ef96e157beb1ada83f49
Merge pull request #3921 from andralex/15553

--


[Issue 15549] [ndslice] byElement is broken for packed slices

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15549

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/fe09ee540cb002b8c1016b399b1c3dde71ee024d
fix Issue 15549

https://github.com/D-Programming-Language/phobos/commit/2ea33ce0f6bf41b1731c54920e2cc300c1d6f584
Merge pull request #3920 from 9il/patch-6

--


[Issue 15666] Grammar does not allow member function attributes on static constructors

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15666

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/2bff38b6d910a16d5aee8f2adfbfd73146673ffa
Issue 15666

https://github.com/D-Programming-Language/dlang.org/commit/29cb2af5dca19bd7fe45101d6923a4868a57a1af
Merge pull request #1228 from Hackerpilot/issue-15666

--


[Issue 12359] implicit overload merging with selective imports should be removed

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12359

--- Comment #17 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/8e38e62485809d40413278773afeb83c17974c4c
Merge pull request #3853 from 9rnsr/fix12359

--


[Issue 15441] dmd segfaults using std.experimental.ndslice

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15441

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/a52cb5f786fd9ff2a1db7d497fa6cf65ef3d5646
fix Issue 15441 - dmd segfaults using std.experimental.ndslice

https://github.com/D-Programming-Language/dmd/commit/ef054013cd42d931c84a3706b0f365b125712bd4
Merge pull request #5309 from 9rnsr/fix15441

--


[Issue 6907] ice(interpret.d) delete expressions crash interpreter

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6907

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/bf995651b5a32592081ec1af70218e2a0427f862
fix Issue 6907 - ice(interpret.d) delete expressions crash interpreter

https://github.com/D-Programming-Language/dmd/commit/18ed97b49f5a4fceb09caf3801869875f1df9f03
Merge pull request #5310 from 9rnsr/fix6907

--


[Issue 14972] Documentation for std.windows.* missing

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14972

--- Comment #4 from github-bugzi...@puremagic.com ---
Commit pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/e6a66cf2af94304dd1caabd77ffd69b1a766161c
Merge pull request #3593 from quickfur/windows_docs

--


[Issue 15450] ICE during CTFE of legit function

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15450

--- Comment #8 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/7d477b5be6e174a529fbeffceb61593624201897
Reboot #5312: fix Issue 15450 - ICE during CTFE of legit function

https://github.com/D-Programming-Language/dmd/commit/a540e39b75fc02b91fe448f52e242db5765723e3
Merge pull request #5336 from WalterBright/reboot5313

--


[Issue 15480] std.algorithm.iteration.map not accepting multiple lambdas

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15480

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/b23608b63523dc8603764cfcff86482abd11b841
Fix Phobos issue 15480

https://github.com/D-Programming-Language/phobos/commit/6bb36bf522b7336dd41873bb4f1a2df57b90f7fc
Merge pull request #3969 from tsbockman/issue_15480

--


[Issue 15519] Circular imports leads to fwd ref error with aliased imports

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15519

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/31cd3b5dbeba43cf5809a477ad7079ac21854a86
fix Issue 15519 - Circular imports leads to fwd ref error with aliased imports

https://github.com/D-Programming-Language/dmd/commit/61c35f3602646163946b3502951e6d3fde73621f
Merge pull request #5333 from WalterBright/fix15519

--


[Issue 15654] SysTime.toISOString formats the time zones incorrectly

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15654

--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/7ded5fcf686c988c4d26869ac0e16a1fd0e5a446
Rename SimpleTimeZone.to/fromISOString to to/fromISOExtString.

https://github.com/D-Programming-Language/phobos/commit/2567a2493a168343be6be3050cd4bef90b320f58
Fix issue# 15654: SysTime.toISOString formats time zones incorrectly.

--


[Issue 15377] std.stdio: Use MSVCRT's _fseeki64 / _ftelli64 on Windows COFF

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15377

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/7af97f8ccc3990f588fc0d9627c645310d30f382
fix Issue 15377 - std.stdio: Use MSVCRT's _fseeki64 / _ftelli64 on Windows COFF

https://github.com/D-Programming-Language/phobos/commit/202565df3ddaf626c0af46f91c6789cb4f23d573
Merge pull request #3828 from CyberShadow/pull-20151124-143559

--


[Issue 15809] New: Putting std.stdio.File.ByLine ina class causes Invalid memory operation upon exit

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15809

  Issue ID: 15809
   Summary: Putting std.stdio.File.ByLine ina class causes Invalid
memory operation upon exit
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: regression
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: hst...@quickfur.ath.cx

Reduced code:
--
import std.stdio;
class Wrapper
{
typeof(stdin.byLine()) src;
}
void main()
{
auto x = new Wrapper();
x.src = stdin.byLine(); 
}
--

Compiled with git HEAD, upon program exit, the following error is triggered:
--
core.exception.InvalidMemoryOperationError@src/core/exception.d(693): Invalid
memory operation
--

Commenting out the second line in main() makes the problem go away.

Works with older releases of dmd toolchain.

--


[Issue 14992] static array local variables always require .init

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14992

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/e2be39899a71f1d82d8d23ebf52c97f8efb13485
fix Issue 14992 - static array local variables always require .init

https://github.com/D-Programming-Language/dmd/commit/8388211efea46340e1ada6b3b889452efd40ccd5
Merge pull request #5014 from 9rnsr/fix14992

--


[Issue 15384] assignment is sometimes still accepted as a condition

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15384

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/95453495fdb38b9c596a977595ce23966fa55be7
fix Issue 15384 - assignment is sometimes still accepted as a condition

https://github.com/D-Programming-Language/dmd/commit/66ca6fe6cfe45f251664abed7304814c4e07af68
Merge pull request #5293 from 9rnsr/fix15384

--


[Issue 15224] making 'clean' results in garbage commands

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15224

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/D-Programming-Language/druntime

https://github.com/D-Programming-Language/druntime/commit/4e8c3492083d9f5ee19c22012820e5535f99147a
fix Issue 15224 - making 'clean' results in garbage commands

https://github.com/D-Programming-Language/druntime/commit/236c43b2ea4f9d101ca7d15477be104ac0dbf2cd
Merge pull request #1483 from MartinNowak/fix15224

--


[Issue 13954] (D1 only) Compiler allows implementing float return method with a real return type

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13954

Stewart Gordon  changed:

   What|Removed |Added

 CC||s...@iname.com
Summary|(D1 only) Compiler allows   |(D1 only) Compiler allows
   |implementing floating point |implementing float return
   |return method with a real   |method with a real return
   |return type |type

--- Comment #1 from Stewart Gordon  ---
float, double and real are all floating point types.

--


[Issue 15802] (SIGSEGV) CppMangleVisitor::source_name

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15802

--- Comment #1 from Daniel Kozak  ---
https://github.com/D-Programming-Language/dmd/pull/5537

--


[Issue 15733] [REG2.066] Forward reference issue involving inheritance

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15733

--- Comment #5 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/f6426fe7c7b8addb96d4f1b72b9d03653187d6ce
fix Issue 15733 - Forward reference issue involving inheritance

https://github.com/D-Programming-Language/dmd/commit/5264c960defa38772a6939eba039390729a26ab6
Merge pull request #5516 from 9rnsr/fix15733

--


[Issue 15781] [REG2.069] Template type deduction failure with same-type variables with different constness

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15781

--- Comment #5 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/db7e4e1136a0c4cd1c0e310b0fdbc1984894719f
fix Issue 15781 - Template type deduction failure with same-type variables with
different constness

https://github.com/D-Programming-Language/dmd/commit/cd8e31700a0f97a073087eac4eaf9d58b7f59a7a
Merge pull request #5531 from 9rnsr/fix15781

--


[Issue 15788] [REG2.069] ICE assert triggered on overloaded function

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15788

--- 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/a2133164b7eecc296374f3bc3ae28b773b009dae
fix Issue 15788 - ICE assert triggered on overloaded function

https://github.com/D-Programming-Language/dmd/commit/bd4924b32a28c52d6b3da791977fdc49361261d5
Merge pull request #5519 from 9rnsr/fix15788

--


[Issue 15805] New: Automatic fix two erroneous integer comparison cases by widening

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15805

  Issue ID: 15805
   Summary: Automatic fix two erroneous integer comparison cases
by widening
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: b2.t...@gmx.com

The front end could automatically fix two cases where comparing two integers
gives in wrong results.

The trick is to widen the unsigned argument in a signed value, for example

int a = -1;
uint b;

if (a > b) {}

"b" can be widened in a long, which fixes the comaprison results.
POC in a simple template:

import std.traits;

bool safeIntegralCmp(string op, L, R)(auto ref L lhs, auto ref R rhs)
if (isIntegral!R && isIntegral!L)
{
// safe
static if (is(Unqual!L == Unqual!R))
{
mixin("return lhs" ~ op ~ "rhs;");
}
else
{
// promote unsigned to bigger signed
static if (isSigned!L && !isSigned!R  && R.sizeof < 8)
{
long widenedRhs = rhs;
mixin("return lhs" ~ op ~ "widenedRhs;");
}
else static if (isSigned!R && !isSigned!L  && L.sizeof < 8)
{
long widenedLhs = lhs;
mixin("return widened" ~ op ~ "rhs;");
}
// not fixable by operand widening
else
{
pragma(msg, "warning, comparing a" ~ L.stringof ~ " with a" ~
R.stringof
~ " may result into wrong results");
mixin("return lhs" ~ op ~ "rhs;");
}
}
}

unittest
{
int a = -1; uint b;
assert(a > b); // wrong result
assert(safeIntegralCmp!">"(a,b) == false); // fixed by promotion

long aa = -1; ulong bb;
assert(aa > bb); // wrong result
assert(safeIntegralCmp!">"(aa,bb) == true); // not staticaly fixable,
warning
}
The widening that happends in the CT branches

* static if (isSigned!L && !isSigned!R  && R.sizeof < 8)
* static if (isSigned!R && !isSigned!L  && L.sizeof < 8) 

could be done in the compiler.

--


[Issue 15811] -transition=import and -transition=checkimport have oddly behaviors

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15811

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15811] -transition=import and -transition=checkimport have oddly behaviors

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15811

--- Comment #2 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/06839592f75418dac14c4c7b8e2d2e184bf3
fix Issue 15811 - -transition=import and -transition=checkimport have oddly
behaviors

https://github.com/D-Programming-Language/dmd/commit/3c8c2d86f75a142e2ae442d997e8d84815235430
Merge pull request #5543 from 9rnsr/fix15811

Issue 15811 - -transition=import and -transition=checkimport have oddly
behaviors

--


[Issue 15785] [DMD HEAD] Spurious warning when calling protected super

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15785

Martin Nowak  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #2 from Martin Nowak  ---
https://trello.com/c/jGUb9iDk/164-issue-15785-spurious-warning-when-calling-protected-super
https://github.com/D-Programming-Language/dmd/pull/5530

--


[Issue 259] Comparing signed to unsigned does not generate an error

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=259

Sobirari Muhomori  changed:

   What|Removed |Added

   Keywords||industry

--


[Issue 15811] -transition=import and -transition=checkimport have oddly behaviors

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15811

--- Comment #1 from Kenji Hara  ---
Note: I've used following test case.

void foo(string text)
{
import std.conv;
auto s = text;
assert(s == "a");
}

void main()
{
foo("a");
}

If assert succeeds, new lookup rule is used. Otherwise old lookup rule is used.

--


[Issue 15806] New: DirEntry interface inconsistency

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15806

  Issue ID: 15806
   Summary: DirEntry interface inconsistency
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: freeslav...@gmail.com

DirEntry on Windows has most methods nothrow, pure and const, while on Posix
they can throw and are mutable.

So when one developed application on Windows they can get unexpected problems
on Posix, e.g. const(DirEntry) will not compile, nothrow functions will not
compile and code will occasionally throw.

--


[Issue 15814] [REG-master] Custom deprecation message is not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15814

--- Comment #2 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/64ed127f107dccdc7fdfe85393300c54d2f9f94c
fix Issue 15814 - Custom deprecation message is not shown

https://github.com/D-Programming-Language/dmd/commit/5990aa5842279555bd12b3a9278ae5f0d161e473
Merge pull request #5547 from 9rnsr/fix15814

[REG-master] Issue 15814 - Custom deprecation message is not shown

--


[Issue 1659] template alias parameters are chosen over all but exact matches.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1659

Kenji Hara  changed:

   What|Removed |Added

 CC||simen.kja...@gmail.com

--- Comment #8 from Kenji Hara  ---
*** Issue 4431 has been marked as a duplicate of this issue. ***

--


[Issue 2947] Array literal changeable if part of class.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2947

--- Comment #13 from yebblies  ---
(In reply to Jakob Ovrum from comment #12)
> (In reply to yebblies from comment #11)
> > Well, you're wrong.  It should not be shared between class instances at all.
> 
> It would be consistent with every other static initializer in the language.
> If you're going to take a stand please provide some kind of rationale,
> otherwise surely the exercise is just meaningless noise.

I have no idea why you think that two class instances automatically sharing
mutable state is intentional.  There's plenty of discussion in the duplicates
of this bug.

--


[Issue 15510] json shouldn't escape forward slash by default

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15510

Andre  changed:

   What|Removed |Added

 CC||an...@s-e-a-p.de

--- Comment #1 from Andre  ---
Everywhere I use toString method I also add the replace(`\/`,`/`) because for
my use cases the \/ escaping is just wrong.

I am not sure whether the default behavior should be changed because this could
silently introduce new behaviors in existing programs but there should be
definitely a new option "noForwardSlashEncoding" in JSONOptions.

--


[Issue 2947] Array literal changeable if part of class.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2947

--- Comment #12 from Jakob Ovrum  ---
(In reply to yebblies from comment #11)
> Well, you're wrong.  It should not be shared between class instances at all.

It would be consistent with every other static initializer in the language. If
you're going to take a stand please provide some kind of rationale, otherwise
surely the exercise is just meaningless noise.

--


[Issue 2947] Array literal changeable if part of class.

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2947

--- Comment #11 from yebblies  ---
(In reply to Jakob Ovrum from comment #9)
> (In reply to yebblies from comment #8)
> > How exactly would putting the array in TLS fix this bug?
> 
> Sigh, like I said, the code in the bug report is *not* a bug.
> 

Well, you're wrong.  It should not be shared between class instances at all.

--


[Issue 15783] Junk is written into environment variable after assigning null to it

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15783

Simen Kjaeraas  changed:

   What|Removed |Added

 CC||simen.kja...@gmail.com

--- Comment #2 from Simen Kjaeraas  ---
core.sys.posix.stdlib.setenv is a simple wrapper around the posix function of
the same name, and should have the same behavior. This is not a bug in
core.sys.posix.stdlib, but one might argue there is one in phobos'
std.process.environment.

The OS is simply following the standard, which says nothing about how to handle
nulls:
http://pubs.opengroup.org/onlinepubs/9699919799/functions/setenv.html

--


[Issue 15779] Program exits with dwarfeh(316) fatal error

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15779

Puneet Goel  changed:

   What|Removed |Added

 CC||pun...@coverify.org

--


[Issue 9800] Numerous issues with DWARF debug output

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9800

Mathias Lang  changed:

   What|Removed |Added

 CC||mathias.l...@sociomantic.co
   ||m

--- Comment #14 from Mathias Lang  ---
Where are we left with this ?
A lot of improvement has been done to support D code in GDB, thanks to Iain.
I kinda like the idea of having a DWARF / Debugging specific meta issue to link
things to (that's what Hackerpilot did for the grammar issues).
Any takers ? @ibuclaw ? :D

--


[Issue 15814] [REG-master] Custom deprecation message is not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15814

Kenji Hara  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Kenji Hara  ---
https://github.com/D-Programming-Language/dmd/pull/5547

--


[Issue 15814] New: [REG-master] Custom deprecation message is not shown

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15814

  Issue ID: 15814
   Summary: [REG-master] Custom deprecation message is not shown
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Keywords: diagnostic
  Severity: regression
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: k.hara...@gmail.com

Test case:

deprecated("a") int get() { return 0; }
enum x = get();


Witn 2.070:

test.d(2): Deprecation: function test.get is deprecated - a


With git-head:

test.d(2): Deprecation: function test.get is deprecated

--


[Issue 15803] std.file should support sub-second file time precision on POSIX

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15803

--- Comment #3 from Vladimir Panteleev  ---
(In reply to Vladimir Panteleev from comment #1)
> Setting timestamps is already done with full resolution (toTimeVal + utimes).

Actually, utimes does not offer nanosecond precision. Instead, utimensat should
be used when available.

--


[Issue 15527] Template instantiation uses same-name symbol from different scope as template alias parameter

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15527

Kenji Hara  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #2 from Kenji Hara  ---


*** This issue has been marked as a duplicate of issue 13617 ***

--


[Issue 15807] Array!bool insertBack is broken

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15807

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15804] New: missing UDAs on nested struct template

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15804

  Issue ID: 15804
   Summary: missing UDAs on nested struct template
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: major
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: e...@atari8.info

Code:

@(42) struct Foo(D) {}
auto fooFac(T)()
{
pragma(msg, __traits(getAttributes, Foo));
return Foo!T();
}

auto booFac(T)()
{
@(43) struct Boo {}
pragma(msg, __traits(getAttributes, Boo));
return Boo();
}

auto barFac(T)()
{
@(44) struct Bar(D) {}
pragma(msg, __traits(getAttributes, Bar));
return Bar!T();
}

auto bazFac(T)()
{
@(45) static struct Baz(D) {}
pragma(msg, __traits(getAttributes, Baz));
return Baz!T();
}

void main()
{
auto foo = fooFac!int;
auto boo = booFac!int;
auto bar = barFac!int;
auto baz = bazFac!int;
}

Compilation produces:
tuple(42)
tuple(43)
tuple()
tuple()

Expected:
tuple(42)
tuple(43)
tuple(44)
tuple(45)

--


[Issue 15372] DMD emits wrong mangling for extern(C++) free function templates

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15372

Daniel Kozak  changed:

   What|Removed |Added

URL|https://github.com/D-Progra |
   |mming-Language/dmd/pull/553 |
   |7   |

--


[Issue 15803] New: std.file should support sub-second file time precision on POSIX

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15803

  Issue ID: 15803
   Summary: std.file should support sub-second file time precision
on POSIX
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: enhancement
  Priority: P1
 Component: phobos
  Assignee: nob...@puremagic.com
  Reporter: thecybersha...@gmail.com

Modern POSIX-like operating systems and filesystems expose sub-second file time
resolution through various extensions. Currently, std.file does not utilize
them, only using the time_t values which offer precision with only second
granularity. Since SysTime (the format used by std.file for file times)
supports hectananosecond precision, std.file needs to detect the presence of
these extensions (as declared in Druntime), and provide seamless
interoperability through them to achieve full timestamp precision for files.

--


[Issue 15785] [DMD HEAD] Spurious warning when calling protected super

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15785

github-bugzi...@puremagic.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

--


[Issue 15304] [REG 2.068.0] Error about SortedRange not being nothrow in debug mode

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15304

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #3 from Walter Bright  ---
Adding 'nothrow' compare does make it compile.

--


[Issue 15179] Local imports cause outer imports to be excluded from overload set

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15179

Walter Bright  changed:

   What|Removed |Added

 CC||bugzi...@digitalmars.com

--- Comment #3 from Walter Bright  ---
Probably not going to change the import lookup rules for this case.

--


[Issue 13875] extern(C++) interfaces cannot be used as associative array keys

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13875

Walter Bright  changed:

   What|Removed |Added

   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=15813

--


[Issue 15813] New: extern (C++) classes cannot be used as associative array keys

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15813

  Issue ID: 15813
   Summary: extern (C++) classes cannot be used as associative
array keys
   Product: D
   Version: D2
  Hardware: All
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: bugzi...@digitalmars.com

The following crashes when compiled and run:

extern (C++) class C {
int ti;

this(int ti) {
this.ti = ti;
}

size_t toHash() const @safe nothrow {
return ti;
}

bool opEquals(Object s) {
return (cast(C)s).ti == ti;
}
}

void main() {
int[C] aa;
auto s = new C(3);
aa[s] = 4;
assert(aa[s] == 4);
}

--


[Issue 15813] extern (C++) classes cannot be used as associative array keys

2016-03-19 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15813

Walter Bright  changed:

   What|Removed |Added

   Keywords||C++
   See Also||https://issues.dlang.org/sh
   ||ow_bug.cgi?id=13875

--


  1   2   >