[Issue 16479] Missing substitution while mangling C++ template parameter for functions

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16479 --- Comment #4 from Mathias LANG --- This is actually quite a non-trivial problem. Take the following code in C++: ``` #include template std::array* getArray(const T* data) { auto ret = new std::array; for (size_t idx = 0; idx < S; ++idx)

[Issue 15691] Improve error message for struct member initializer

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15691 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15691] Improve error message for struct member initializer

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15691 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/f3001177457b00031875779a555ff581d9c62360 Fix Issue 15691 - Improve error message for struct member

[Issue 4620] C++ constructor and template mangling, C++ ABI patch

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4620 Mathias LANG changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 16479] Missing substitution while mangling C++ template parameter for functions

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16479 Mathias LANG changed: What|Removed |Added CC||pro.mathias.l...@gmail.com

[Issue 18493] [betterC] Can't use aggregated type with postblit

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18493 Mike Franklin changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Issue 15691] Improve error message for struct member initializer

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15691 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from

[Issue 18973] New: @disable on const toHash causes unresolved symbol error

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18973 Issue ID: 18973 Summary: @disable on const toHash causes unresolved symbol error Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 18493] [betterC] Can't use aggregated type with postblit

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18493 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18493] [betterC] Can't use aggregated type with postblit

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18493 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/d676ffa836204dded541101b74dff8ae8131ad5d Fix Issue 18493 - [betterC] Can't use aggregated

[Issue 15690] [ICE] backend/symbol.c 1032

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15690 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 15755] DMD segfault upon alias on alias on __trait(getAttributes, ...)

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15755 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #2 from

[Issue 15754] can access alias from instance but not from type

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15754 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18975] New: permutations.array creates an array of the original type without the permutations

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18975 Issue ID: 18975 Summary: permutations.array creates an array of the original type without the permutations Product: D Version: D2 Hardware: x86_64 OS: Mac OS X

[Issue 18976] New: Inconsistency in overload merging with aliases

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18976 Issue ID: 18976 Summary: Inconsistency in overload merging with aliases Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major

[Issue 18974] New: ICE with mixin templates, inheritance and overloading

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18974 Issue ID: 18974 Summary: ICE with mixin templates, inheritance and overloading Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal

[Issue 15690] [ICE] backend/symbol.c 1032

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15690 --- Comment #2 from hst...@quickfur.ath.cx --- Tested on latest git master (153db26c226d84a27a926810025b91eb6583849c), confirmed that this no longer crashes the compiler. Compiler output: -- test.d(20): Deprecation: use { } for an empty

[Issue 17712] [REG 2.074] [LINK] Undefined reference to std.conv.toChars!(10, char, 1, uint).toChars(uint)

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17712 --- Comment #11 from Basile B. --- interesting fact: The problem doesn't happen when std.conv.toChars template parameter `radix` is changed from `ubyte` to `int` or when it changed to an `alias radix = 10` --

[Issue 17712] [REG 2.074] [LINK] Undefined reference to std.conv.toChars!(10, char, 1, uint).toChars(uint)

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17712 --- Comment #12 from Basile B. --- speculative could fail because it wrongly thinks that it will ALREADY be codegened. in toImpl (line 1394 of std.conv) we have --- return toChars!(10, EEType)(value + 0).array; --- but if we specifies the type

[Issue 18976] Inconsistency in overload merging with aliases

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18976 Mike Franklin changed: What|Removed |Added Keywords||pull CC|

[Issue 15068] wrong error message on attempting to use type as template

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15068 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 15068] wrong error message on attempting to use type as template

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15068 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/8fe101636f9aeeb896bbcd6bcc8b4005df915e33 Fix Issue 15068 - wrong error message on attempting to use

[Issue 15842] struct is being copied when returned directly

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15842 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment #5

[Issue 4620] C++ constructor and template mangling, C++ ABI patch

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4620 Steven Schveighoffer changed: What|Removed |Added CC||schvei...@yahoo.com --- Comment #6

[Issue 15842] struct is being copied when returned directly

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15842 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 15842] struct is being copied when returned directly

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15842 --- Comment #4 from Atila Neves --- I'd only close the bug if there's a test in the testsuite that would fail if the current behaviour ever changes. --

[Issue 18970] DMD segfault due to opDispatch

2018-06-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18970 Seb changed: What|Removed |Added CC||greensunn...@gmail.com --- Comment #1 from Seb ---