[Issue 21522] function gets lost when aliasing an overloaded function template
https://issues.dlang.org/show_bug.cgi?id=21522 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #12091 "Fix Issue 21522 - function gets lost when aliasing an overloaded funct…" was merged into master: - 6299cc5a95e5fa4a4476710911672c2aed372f41 by Boris Carvajal: Fix Issue 21522 - function get lost when aliasing an overloaded function template https://github.com/dlang/dmd/pull/12091 --
[Issue 21523] Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed
https://issues.dlang.org/show_bug.cgi?id=21523 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/phobos pull request #7740 "Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed" was merged into master: - 5aeaa1f873f5c0d04d27816466960d298503491b by Nathan Sashihara: Fix Issue 21523 - Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed https://github.com/dlang/phobos/pull/7740 --
[Issue 21481] functions in overloaded template are lost when the template overloads an alias
https://issues.dlang.org/show_bug.cgi?id=21481 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #12092 "Fix Issue 21481 - functions in overloaded template are lost when the …" was merged into master: - 518157506bc45bcd66b957f9330e0adc3d473be1 by Boris Carvajal: Fix Issue 21481 - functions in overloaded template are lost when the template overloads an alias https://github.com/dlang/dmd/pull/12092 --
[Issue 21523] Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed
https://issues.dlang.org/show_bug.cgi?id=21523 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @n8sh created dlang/phobos pull request #7740 "Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed" fixing this issue: - Fix Issue 21523 - Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed https://github.com/dlang/phobos/pull/7740 --
[Issue 21523] New: Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed
https://issues.dlang.org/show_bug.cgi?id=21523 Issue ID: 21523 Summary: Microsoft Windows std.stdio.File.lock(), tryLock(), unlock(): do not allocate memory for error messages when they are not needed Product: D Version: D2 Hardware: All OS: Windows Status: NEW Severity: enhancement Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: n8sh.second...@hotmail.com The non-Windows paths use `errnoEnforce` that lazily evaluates the messages. The Windows path uses a private function `wenforce` that evaluates its arguments eagerly. --
[Issue 13362] DMD accepts body-less switch
https://issues.dlang.org/show_bug.cgi?id=13362 Basile-z changed: What|Removed |Added CC||b2.t...@gmx.com --- Comment #3 from Basile-z --- switch (a) static foreach (c, list) case c: mixin(gencodefor!c); --
[Issue 21177] printf check does not recognize GNU extensions
https://issues.dlang.org/show_bug.cgi?id=21177 --- Comment #3 from Mathias LANG --- A new feature is triggering deprecation messages in perfectly working code. Yes, it is a regression, as all false-positives are. --
[Issue 19152] 2.081.1 getOverloads regression compiler bug
https://issues.dlang.org/show_bug.cgi?id=19152 --- Comment #6 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 00a80d5e38f32cf4ff5b7fe8058c5be42067f286 by JinShil: [dmd-cxx] Fix Issue 19152 - 2.081.1 Regression - Seg fault in traits.c https://github.com/dlang/dmd/pull/12093 --
[Issue 16206] traits getOverloads fails when one of the overload is a templatized function
https://issues.dlang.org/show_bug.cgi?id=16206 --- Comment #9 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 2f4d3b7d3c9badd4f902343b18548aeda7f10197 by Biotronic: [dmd-cxx] Fix issue 16206 - getOverloads fails when first overload is template https://github.com/dlang/dmd/pull/12093 --
[Issue 12223] __traits(getMember,...) needed for aliases
https://issues.dlang.org/show_bug.cgi?id=12223 --- Comment #7 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 1474ca231a6e9cf6a76c918661495242464b646e by Richard Manthorpe: [dmd-cxx] Fix Issue 12223 - __traits(getMember,...) needed for aliases https://github.com/dlang/dmd/pull/12093 --
[Issue 19180] Expose dmd.mtype.Type.isZeroInit as __traits(isZeroInit, T)
https://issues.dlang.org/show_bug.cgi?id=19180 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - c480509b0f455c8dc86c70752d55e517ca3d7416 by Nathan Sashihara: [dmd-cxx] Fix Issue 19180 - Expose dmd.mtype.Type.isZeroInit as __traits(isZeroInit, T) https://github.com/dlang/dmd/pull/12093 --
[Issue 16002] Add __traits(isModule) and __traits(isPackage)
https://issues.dlang.org/show_bug.cgi?id=16002 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 0d43f6419e3e1d679a76667c3e44d7cbd3375539 by Benjamin L. Merritt: [dmd-cxx] fix Issue 16002 - Add __traits(isModule) and __traits(isPackage) https://github.com/dlang/dmd/pull/12093 --
[Issue 18149] Add a compiler trait to detect if a function is @disable
https://issues.dlang.org/show_bug.cgi?id=18149 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - ccab65f15e2f28b4ab58a230aade08e6ce49be54 by Basile Burg: [dmd-cxx] fix issue 18149 - Add a compiler trait to detect if a function is @disabled https://github.com/dlang/dmd/pull/12093 --
[Issue 17878] Add __traits(isFuture, ...)
https://issues.dlang.org/show_bug.cgi?id=17878 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 18da3ec2cbe528f546ab3fc955662457fb0a81e1 by RazvanN7: [dmd-cxx] Fix Issue 17878 - Add __traits(isFuture, ...) https://github.com/dlang/dmd/pull/12093 --
[Issue 18322] void fun(string file=__FILE_FULL_PATH__)() returns relative path (pointing to nowhere)
https://issues.dlang.org/show_bug.cgi?id=18322 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 689820db99a7ce0d551d78639f2558c2d4d9cc95 by Jonathan Marler: [dmd-cxx] Fix issue 18322 https://github.com/dlang/dmd/pull/12093 --
[Issue 15094] __traits(getMember) fails when the source is a struct/class field
https://issues.dlang.org/show_bug.cgi?id=15094 --- Comment #10 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 542f9a47d165eb27b2d3b937cadd119c779b07fe by JinShil: [dmd-cxx] Fix Issue 15094 - __traits(getMember) fails when the source is a struct/class field https://github.com/dlang/dmd/pull/12093 --
[Issue 18617] need __traits(deprecated, expr) to check whether an expression would trigger deprecation
https://issues.dlang.org/show_bug.cgi?id=18617 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 596401fa8d815314f1d34540c52075df4de7a713 by Geod24: [dmd-cxx] Fix Issue 18617 - Need ability to check if a symbol would trigger a deprecation without triggering it https://github.com/dlang/dmd/pull/12093 --
[Issue 17373] traits getOverloads + multiple interface inheritance only see one of the interfaces' overloads
https://issues.dlang.org/show_bug.cgi?id=17373 --- Comment #3 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 40ea03789d2b93aea1b2786c349bf17f6800eab4 by RazvanN7: [dmd-cxx] Fix Issue 17373 - traits getOverloads + multiple interface inheritance only see one of the interfaces' overloads https://github.com/dlang/dmd/pull/12093 --
[Issue 17096] many traits accept an invalid parameter count without error
https://issues.dlang.org/show_bug.cgi?id=17096 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 1602539c49d80c768d4ba68b7b2300ee3573ac0d by JinShil: [dmd-cxx] Fix issue 17096 - Check the number of arguments given to __trait https://github.com/dlang/dmd/pull/12093 --
[Issue 17791] Add __traits(isDeprecated, ...)
https://issues.dlang.org/show_bug.cgi?id=17791 --- Comment #4 from Dlang Bot --- dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" was merged into dmd-cxx: - 349f960f54688b70a38f3e40bd2df5b67f5dbafc by dunkyp: [dmd-cxx] fix issue 17791 - add __traits(deprecated, symbol) https://github.com/dlang/dmd/pull/12093 --
[Issue 20374] Assertion failure: 'e && retregs' hit at cod1.d:1858 on Win32_64 auto-tester with phobos PR#7259
https://issues.dlang.org/show_bug.cgi?id=20374 moonlightsenti...@disroot.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #3 from moonlightsenti...@disroot.org --- Closing because the assertion failure does not occur with current master --
[Issue 21177] printf check does not recognize GNU extensions
https://issues.dlang.org/show_bug.cgi?id=21177 Iain Buclaw changed: What|Removed |Added CC||ibuc...@gdcproject.org --- Comment #2 from Iain Buclaw --- Why is this a regression when it's a feature request? --
[Issue 21177] printf check does not recognize GNU extensions
https://issues.dlang.org/show_bug.cgi?id=21177 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #1 from Dlang Bot --- @Luhrel created dlang/dmd pull request #12094 "Fix issue 21177 - printf check does not recognize GNU extensions" fixing this issue: - Fix issue 21177 https://github.com/dlang/dmd/pull/12094 --
[Issue 12223] __traits(getMember,...) needed for aliases
https://issues.dlang.org/show_bug.cgi?id=12223 --- Comment #6 from Dlang Bot --- @ibuclaw created dlang/dmd pull request #12093 "[dmd-cxx] Backport more recent traits to the C++ port" mentioning this issue: - [dmd-cxx] Fix Issue 12223 - __traits(getMember,...) needed for aliases https://github.com/dlang/dmd/pull/12093 --
[Issue 20565] Local template function in static foreach yields link error LNK1179 on fresh compile
https://issues.dlang.org/show_bug.cgi?id=20565 Walter Bright changed: What|Removed |Added Keywords||accepts-invalid --- Comment #4 from Walter Bright --- Rewriting the bug example with functions instead of templates, an error is correctly generated: void main() { { int temp() { return 3; } temp(); } { int temp() { return 4; } temp(); // Error: declaration test.main.temp is already defined in another scope in main at line 6 } } This suggests the obvious fix of extending the check for functions to include template functions. --
[Issue 20565] Local template function in static foreach yields link error LNK1179 on fresh compile
https://issues.dlang.org/show_bug.cgi?id=20565 Walter Bright changed: What|Removed |Added Hardware|x86_64 |All OS|Windows |All --- Comment #3 from Walter Bright --- A simpler demonstration of the problem: void main() { { int temp(T)() { return 3; } temp!int(); } { int temp(T)() { return 4; } temp!int(); } } which affects all targets. Both functions are generated, the mangled names of the two functions are the same, and on non-MSCOFF targets one of the two functions is picked. Changing this to All platforms. --