[Issue 15512] extern(C++, ns) should consider taking a string

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15512

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

   What|Removed |Added

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

--


[Issue 15512] extern(C++, ns) should consider taking a string

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15512

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

https://github.com/dlang/dmd/commit/d9747003d45d205ff5348bfbe3f5d9779ae62732
Fix Issue 15512 - Implement better C++ name mangling feature.

--


[Issue 5363] const + alias this = wrong code

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5363

RazvanN  changed:

   What|Removed |Added

 CC||nilsboss...@googlemail.com

--- Comment #8 from RazvanN  ---
*** Issue 9354 has been marked as a duplicate of this issue. ***

--


[Issue 9354] overload resolution picks alias this over const conversion

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9354

RazvanN  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||razvan.nitu1...@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #1 from RazvanN  ---


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

--


[Issue 6777] alias this disables casting for classes

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6777

RazvanN  changed:

   What|Removed |Added

 CC||razvan.nitu1...@gmail.com

--- Comment #10 from RazvanN  ---
PR: https://github.com/dlang/dmd/pull/8712

--


[Issue 19251] Alias this does not get called on struct qualified type

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19251

--- Comment #1 from RazvanN  ---
PR : https://github.com/dlang/dmd/pull/8711

--


[Issue 19251] New: Alias this does not get called on struct qualified type

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19251

  Issue ID: 19251
   Summary: Alias this does not get called on struct qualified
type
   Product: D
   Version: D2
  Hardware: x86_64
OS: Linux
Status: NEW
  Severity: normal
  Priority: P1
 Component: dmd
  Assignee: nob...@puremagic.com
  Reporter: razvan.nitu1...@gmail.com

struct A
{
int[] a;
immutable(A) fun()
{
writeln("Yo");
return immutable A([7]);
}

alias fun this;
}

void main()
{
A a;
immutable A b = a;   // error: cannot implicitly convert expression a of
type A to immutable(A)
}

This code should print YO.

--


[Issue 19250] New: DWARF Backtraces with very long symbol names read out of bounds when printing

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19250

  Issue ID: 19250
   Summary: DWARF Backtraces with very long symbol names read out
of bounds when printing
   Product: D
   Version: D2
  Hardware: All
OS: Linux
Status: NEW
  Severity: critical
  Priority: P1
 Component: druntime
  Assignee: nob...@puremagic.com
  Reporter: marcio...@gmail.com

DWARF Backtraces with very long symbol names will print garbage, and sometimes
crash.

--


[Issue 19240] std.typecons.Tuple should check for reserved identifiers

2018-09-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19240

Simen Kjaeraas  changed:

   What|Removed |Added

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

--- Comment #1 from Simen Kjaeraas  ---
This is caused by a typo in distinctFieldNames.

PR: https://github.com/dlang/phobos/pull/6712

--