[Issue 2091] D2 final cannot be applied to variable

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=2091 --- 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/397752ba67e2db4868865b57ddfcd6f76724f386 fix Issue 2091 - D2 final can

[Issue 13720] [REG2.067] Adding trivial destructor to std.datetime causes Internal error: ..\ztc\cgelem.c 2418

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

[Issue 13720] [REG2.067] Adding trivial destructor to std.datetime causes Internal error: ..\ztc\cgelem.c 2418

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13720 --- 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/5a67cc2c12b351a4649de5caeb5e6b30e109d611 fix Issue 13720 - Adding tri

[Issue 12022] Spurious "recursive alias declaration" with lambdas as template parameters

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12022 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 --- Comment #6 from Kenji Hara --- (In reply to Steven Schveighoffer from comment #5) > Your code compiles for 2.067 (except for foo). > > I also did my own test (which compiles on 2.067 and a recent head version): > [snip] > > Which compiles. >

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 --- Comment #5 from Steven Schveighoffer --- (In reply to Kenji Hara from comment #3) > (In reply to Yuxuan Shui from comment #2) > > Seems this bug is not related to nested templates at all, it's more likely > > an 'auto ref' bug: > > `auto ref` pa

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 --- Comment #4 from Yuxuan Shui --- (In reply to Kenji Hara from comment #3) > (In reply to Yuxuan Shui from comment #2) > > Seems this bug is not related to nested templates at all, it's more likely > > an 'auto ref' bug: > > `auto ref` parameter i

[Issue 5941] Using inner struct which references nested function in a no-attribute or auto-return member function causes "nested function cannot be accessed" error

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5941 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 --- Comment #3 from Kenji Hara --- (In reply to Yuxuan Shui from comment #2) > Seems this bug is not related to nested templates at all, it's more likely > an 'auto ref' bug: `auto ref` parameter is allowed for template functions, AND needs actual f

[Issue 14719] Template instantiation parsed as C-style type cast

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14719 --- Comment #3 from Kenji Hara --- (In reply to Yuxuan Shui from comment #2) > First, (a!A) is not always a type, it can be a function or anything. Yes, it's not yet determined in parsing stage. The determination will be done in later semantic analy

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 --- Comment #2 from Yuxuan Shui --- Seems this bug is not related to nested templates at all, it's more likely an 'auto ref' bug: import std.traits, std.range; void a(S)(auto ref S i) { } void b(S)(auto ref S i) if (isInputRange!S) { } void c(S)(r

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 --- Comment #1 from Yuxuan Shui --- I simplified the example a little bit: import std.traits, std.range; template ReturnTypeEx(alias A, B) { alias ReturnTypeEx = ReturnType!(A!B); } void a(S)(auto ref S i) { } template b(alias R) { void b(S)

[Issue 14685] [REG2.067] Silent incorrect behavior with enforce and custom exception

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14685 --- Comment #3 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/8c5bd6347b05867d51f61e08f4c77e8313103ddd Merge pull request #343

[Issue 14685] [REG2.067] Silent incorrect behavior with enforce and custom exception

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14685 --- 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/4f2e16ed39763ab3eecb19b1d24961dfdc77a678 fix Issue 14685 - Sile

[Issue 14704] The design, which allows not to write import, import, import ... for selective imports

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14704 --- Comment #35 from dennis.m.ritc...@mail.ru --- (In reply to dennis.m.ritchie from comment #34) > Why 29 times to copy the keyword `import`, if you can write only once? Proper programming is ergonomic programming! --

[Issue 14704] The design, which allows not to write import, import, import ... for selective imports

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14704 --- Comment #34 from dennis.m.ritc...@mail.ru --- (In reply to Ketmar Dark from comment #33) > (In reply to dennis.m.ritchie from comment #31) > so i was right: you choose to go personal 'cause you have zero technical > arguments. thanks for not hidin

[Issue 14698] Un-mangle symbols in disassembly?

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14698 --- Comment #8 from Rainer Schuetze --- > What will happen for binaries with both D and C++ symbols? Good question. I was just about to adapt the demangling of linker messages to fit this use case aswell, but C++ symbols are not supported (nor by dd

[Issue 14719] Template instantiation parsed as C-style type cast

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14719 --- Comment #2 from Yuxuan Shui --- (In reply to Kenji Hara from comment #1) > (In reply to Yuxuan Shui from comment #0) > > (a!A)!B > > > > Which is parsed as a C-style cast. > > It's not a bug. The code is parsed as: > > (a!A)// a type name a

[Issue 14698] Un-mangle symbols in disassembly?

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14698 --- Comment #7 from Manu --- What will happen for binaries with both D and C++ symbols? --

[Issue 14685] [REG2.067] Silent incorrect behavior with enforce and custom exception

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14685 Kenji Hara changed: What|Removed |Added Keywords||pull Summary|Silent incorrect behavi

[Issue 13720] [REG2.067] Adding trivial destructor to std.datetime causes Internal error: ..\ztc\cgelem.c 2418

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13720 Kenji Hara changed: What|Removed |Added Keywords||pull --- Comment #5 from Kenji Hara --- https:

[Issue 14718] float parsing depends on libc strtold precision

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14718 --- Comment #3 from Martin Nowak --- Sounds a lot like this glibc bug [14047 – strtof gives spurious ERANGE errors](https://sourceware.org/bugzilla/show_bug.cgi?id=14047) which got fixed with glibc 2.17. --

[Issue 14719] Template instantiation parsed as C-style type cast

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14719 Kenji Hara changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 14542] Table of contents in specification PDF is broken

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14542 Vladimir Panteleev changed: What|Removed |Added Keywords||pull CC|

[Issue 14542] Table of contents in specification PDF is broken

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14542 ag0ae...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 14542] Table of contents in specification PDF is broken

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14542 --- Comment #4 from Vladimir Panteleev --- This was fixed just a few days ago: https://github.com/D-Programming-Language/dlang.org/pull/1024 --

[Issue 14542] Table of contents in specification PDF is broken

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14542 --- Comment #2 from Joe Duarte --- Created attachment 1529 --> https://issues.dlang.org/attachment.cgi?id=1529&action=edit Font details for TOC font in spec --

[Issue 14542] Table of contents in specification PDF is broken

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14542 Joe Duarte changed: What|Removed |Added CC||jose.dua...@asu.edu --- Comment #1 from Joe Dua

[Issue 14719] Template instantiation parsed as C-style type cast

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14719 Yuxuan Shui changed: What|Removed |Added Severity|enhancement |normal --

[Issue 14720] Template function reported as non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 Yuxuan Shui changed: What|Removed |Added Summary|Template function reported |Template function reported |

[Issue 14719] Template instantiation parsed as C-style type cast

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14719 Yuxuan Shui changed: What|Removed |Added Keywords||diagnostic --

[Issue 14720] Template function reported non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 Yuxuan Shui changed: What|Removed |Added Keywords||diagnostic --

[Issue 14720] New: Template function reported non-template

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14720 Issue ID: 14720 Summary: Template function reported non-template Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priori

[Issue 14719] New: Template instantiation parsed as C-style type cast

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14719 Issue ID: 14719 Summary: Template instantiation parsed as C-style type cast Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 14214] Internal error: backend/go.c 242

2015-06-22 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14214 Kenji Hara changed: What|Removed |Added Keywords||ice Severity|normal