[Issue 16691] New debug experience: hovering over a string function argument doesn't display the string

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #4 from Manu  ---
Nice.

--


[Issue 17090] `dmd -transition=?` needs quoting => make it `-transition=help`

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17090

Timothee Cour  changed:

   What|Removed |Added

 CC||timothee.co...@gmail.com

--- Comment #2 from Timothee Cour  ---
>> I agree that `help` should be an alias for `?`.

or rather, vice versa and then deprecation path for `?`

--


[Issue 16974] [REG2.068] Equal associative arrays with associative array keys are considered unequal

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16974

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

https://github.com/dlang/druntime/commit/5cc28431b92d6849ef7758d200f714f5aee996f3
Fix Issue 16974 - Equal associative arrays with associative array keys are
considered unequal

https://github.com/dlang/druntime/commit/d57fdb116ebb9dc1a7c0f1983c253db58dbbc22b
Merge pull request #1715 from denis-sh/fix-Issue-16974

--


[Issue 9378] std.internal.digest.sha_SSE3 breaks if compiled with PIC

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9378

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/12c56c935c6bd0130fcb545264293cc0e500799f
partly fix Issue 9378 - SHA1 asm not PIC compatible

https://github.com/dlang/phobos/commit/d85b5e0a120f35ec800566cf6c64acb5c2a4563c
Merge pull request #4994 from MartinNowak/fix9378

--


[Issue 17073] [Reg 2.071.0] Priority clash with `void` default initialization of struct fields

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17073

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/5f490432785a36efea2cb4dcda0d3ebb036d6c21
Fix issue 17073 - Do not ignore the explicit initializers

https://github.com/dlang/dmd/commit/ac7efd9fdff63645e6c9b0278a8307dd07e3bfc1
Merge pull request #6427 from LemonBoy/b17073

--


[Issue 17059] [REG 2.072.2] incorrect circular reference with `is(Klass : Interface)`

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17059

--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/c4ac1abed6e6aa95b1312d777f77fb634e2dac07
fix Issue 17059 - incorrect circular reference with `is(Klass : Interface)`

https://github.com/dlang/dmd/commit/45c886fab62ed8a99ab054d3d5e9c2e6a38e429e
Merge pull request #6412 from MartinNowak/fix17059

--


[Issue 17074] extern(C++, keyword) crashes compiler

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17074

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/e4516073a3e0d5d92499fc6e1a5b184eb4e87f31
Fix Issue 17074: extern(C++, keyword) crashes compiler

https://github.com/dlang/dmd/commit/b35ec9c94a14d226dcbb5758eedd8e7d2cc4cb53
Merge pull request #6415 from ibuclaw/issue17074

--


[Issue 16598] [REG2.069] ICE with void ternary + finalizers

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16598

--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/b6ac3bae6fe21fd5c060e9f8bad99e2d28e882a6
Fix issue 16598 - Explicitly discard the exp. value in void CondExp

https://github.com/dlang/dmd/commit/f7dc4fdc6a3a776a4bc4499fa2edf305f2c3a19d
Merge pull request #6434 from LemonBoy/b16598

--


[Issue 17090] `dmd -transition=?` needs quoting => make it `-transition=help`

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17090

Martin Nowak  changed:

   What|Removed |Added

 CC||c...@dawg.eu

--- Comment #1 from Martin Nowak  ---
It's not new and also used by -mcpu=?. I agree that `help` should be an alias
for `?`.

--


[Issue 17090] New: `dmd -transition=?` needs quoting => make it `-transition=help`

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17090

  Issue ID: 17090
   Summary: `dmd -transition=?` needs quoting => make it
`-transition=help`
   Product: D
   Version: D2
  Hardware: x86
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: timothee.co...@gmail.com

this flag was just introduced (in beta) ; it's the *only* flag that requires
quoting on a shell. Please use anything else than something that requires
quoting. `eg: -transition=help` 
more searchable (in code), easier to enter in shell, especially in more complex
scenario.
IIRC standard compilers (gcc, clang etc) don't do that.

--


[Issue 17089] New: changelog: some bug fixes are duplicated in several releases

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17089

  Issue ID: 17089
   Summary: changelog: some bug fixes are duplicated in several
releases
   Product: D
   Version: D2
  Hardware: x86
OS: All
Status: NEW
  Severity: normal
  Priority: P1
 Component: dlang.org
  Assignee: nob...@puremagic.com
  Reporter: timothee.co...@gmail.com

EG:
http://dlang.org/changelog/2.072.2.html
http://dlang.org/changelog/2.073.0.html
both contain:

Bugzilla 14296: RDMD fails at building a lib when the source is in a subdir
Bugzilla 16747: [Reg 2.072] Cannot have stack allocated classes in @safe code

there are more.

Would be good to only show the entry in the release where it got 1st fixed
(more DRY and easier to follow)

--


[Issue 16245] the message emitted when a const function mutates members is misleading

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16245

--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd

https://github.com/dlang/dmd/commit/141c88bcfaa1c5b79ac4d5c6dd7b278d11b5de84
fix issue 16245 - the message emitted when a const function mutates members is
misleading

https://github.com/dlang/dmd/commit/ff98747bf365c03da1a7742fa9d432e6d8efb6c4
Merge pull request #6441 from BBasile/issue-16245

fix issue 16245 - the message emitted when a const function mutates members is
misleading

--


[Issue 13017] opEquals for null std.typecons.Nullable

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13017

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos

https://github.com/dlang/phobos/commit/5dc7aa24217bb7751200eb5b2e869c2c5feab557
Fix issue #13017: opEquals for null std.typecons.Nullable

I was getting sick of this not working, and there have been multiple bug
reports on this, so I'm just fixing it. With these changes, using == and
!= on null Nullables will not result in an AssertError but instead will
consider them equal if they're both null, equal if they're both non-null
and have the same value, and not equal otherwise.

https://github.com/dlang/phobos/commit/d94442c8e758cef0bb3d2a163d464a68049556de
Merge pull request #5032 from jmdavis/issue_13017

Fix issue #13017: opEquals for null std.typecons.Nullable

--


[Issue 13017] opEquals for null std.typecons.Nullable

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13017

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

   What|Removed |Added

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

--


[Issue 16691] New debug experience: hovering over a string function argument doesn't display the string

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16691

Rainer Schuetze  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #3 from Rainer Schuetze  ---
https://github.com/dlang/dmd/pull/6445

Support for references has to be added to mago, too.

--


[Issue 16598] [REG2.069] ICE with void ternary + finalizers

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16598

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

https://github.com/dlang/dmd/commit/b6ac3bae6fe21fd5c060e9f8bad99e2d28e882a6
Fix issue 16598 - Explicitly discard the exp. value in void CondExp

https://github.com/dlang/dmd/commit/f7dc4fdc6a3a776a4bc4499fa2edf305f2c3a19d
Merge pull request #6434 from LemonBoy/b16598

Fix issue 16598 - Explicitly discard the exp. value in void CondExp

--


[Issue 16598] [REG2.069] ICE with void ternary + finalizers

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16598

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

   What|Removed |Added

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

--


[Issue 15282] Import osmodel.mak from dmd to detect OS and MODEL

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15282

--- Comment #2 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/tools

https://github.com/dlang/tools/commit/6220f0a31d0934c0a8d87ff7650e209e29400e14
Merge pull request #179 from sohgo/import-osmodel.mak

Issue 15282 - Import osmodel.mak from dmd to detect OS and MODEL

--


[Issue 17081] Bodies in extern cpp functions in D files are not linked

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17081

--- Comment #3 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/druntime

https://github.com/dlang/druntime/commit/e3e8b23401dd1a323f1f4567cef7612f74984bf9
Merge pull request #1736 from Darredevil/issue-17081

Workaround Issue 17081 - Bodies in extern cpp functions in D files are not
linked

--


[Issue 16692] New debug experience: possible to execute pure functions during expression evaluation?

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16692

--- Comment #2 from Manu  ---
>_<

--


[Issue 16691] New debug experience: hovering over a string function argument doesn't display the string

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16691

--- Comment #2 from Manu  ---
Is there a solution possible that isn't broken one way or another?

--


[Issue 16692] New debug experience: possible to execute pure functions during expression evaluation?

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16692

Rainer Schuetze  changed:

   What|Removed |Added

 CC||r.sagita...@gmx.de

--- Comment #1 from Rainer Schuetze  ---
The VS debugger can call functions in the watch window, but that needs
appropriate debug information. Unfortunately the full function type info is not
generated by dmd.

--


[Issue 16691] New debug experience: hovering over a string function argument doesn't display the string

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16691

Rainer Schuetze  changed:

   What|Removed |Added

 CC||r.sagita...@gmx.de

--- Comment #1 from Rainer Schuetze  ---
This happens because the string is passed by reference by the x64 ABI. If you
build for the VS engine, it is encoded as "reference" and it works as expected. 

The pointer type is used for historic reasons when building for D engines.
Unfortunately, switching to VS style uses the ugly '@' replacement for types.

--


[Issue 4372] type of enumerator values reduced to base type in debug info

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4372

Rainer Schuetze  changed:

   What|Removed |Added

 CC||turkey...@gmail.com

--- Comment #5 from Rainer Schuetze  ---
*** Issue 16700 has been marked as a duplicate of this issue. ***

--


[Issue 16700] New debug experience: enums are integers

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16700

Rainer Schuetze  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||r.sagita...@gmx.de
 Resolution|--- |DUPLICATE

--- Comment #1 from Rainer Schuetze  ---
The debug info for the variables is lowered to their base type. This is a
duplicate of Issue 4372.

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

--


[Issue 16711] unittest writefln

2017-01-14 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16711

Rainer Schuetze  changed:

   What|Removed |Added

   Priority|P1  |P2
 CC||r.sagita...@gmx.de
  Component|visuald |phobos
   Hardware|x86 |All
 OS|Windows |All
   Severity|enhancement |normal

--- Comment #1 from Rainer Schuetze  ---
By importing std.stdio and using writefln, you are also instantiating template
struct FormatSpec(Char) from std.format. This contains a unittest that checks
that an exception is thrown. Every time code generation for this struct kicks
in, the unittest will also be generated.

The unittest does not contain anything depending on the template parameters, so
it should not be inside the struct declaration, but outside of it. Thus I'm
reassigning this to component phobos.

--