[Issue 15054] DMD doesn't work with hardening-wrapper
https://issues.dlang.org/show_bug.cgi?id=15054 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Vladimir Panteleev --- I believe this has been addressed in the latest D releases. There has been a very similar problem recently, with Arch Linux switching to -fPIE by default for everything. This resulted in very similar linking errors when building anything, because libphobos2.a was not built with -fPIC. A workaround was to create a cc/gcc/c++/g++ wrapper somewhere in PATH, which adds -no-pie to the gcc invocation used for linking. However, this has been properly fixed in the latest releases from Arch Linux repositories, where libphobos2.a is now built with -fPIC and generating position-independent binaries is enabled by default. Please reopen if this is still an issue with the latest Arch Linux DMD 2.075.0 package. --
[Issue 15135] std.parallelism taskPool.amap compilation error for array of tuple of tuple or tuple of struct results
https://issues.dlang.org/show_bug.cgi?id=15135 Vladimir Panteleev changed: What|Removed |Added Hardware|x86 |All OS|Windows |All --
[Issue 16472] Spurious "is used as a type" when using enum template member as default parameter
https://issues.dlang.org/show_bug.cgi?id=16472 Vladimir Panteleev changed: What|Removed |Added Summary|template alias parameter|Spurious "is used as a |bug |type" when using enum ||template member as default ||parameter --
[Issue 8855] cannot define a function name that matches a package name in import statements
https://issues.dlang.org/show_bug.cgi?id=8855 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=11847 --
[Issue 11847] Importing "package.d" module causes qualified name lookup to fail for sub modules
https://issues.dlang.org/show_bug.cgi?id=11847 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=8855 --
[Issue 10602] Better error message for wrong template lambda given to function
https://issues.dlang.org/show_bug.cgi?id=10602 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=17477, ||https://issues.dlang.org/sh ||ow_bug.cgi?id=9423 --
[Issue 17477] DMD error message for delegate with wrong attributes is very confusing
https://issues.dlang.org/show_bug.cgi?id=17477 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=10602 --
[Issue 9423] Missed conversion of lambda literal with ref argument
https://issues.dlang.org/show_bug.cgi?id=9423 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=10602 --
[Issue 17477] DMD error message for delegate with wrong attributes is very confusing
https://issues.dlang.org/show_bug.cgi?id=17477 Vladimir Panteleev changed: What|Removed |Added Hardware|x86_64 |All OS|Linux |All --
[Issue 10332] Dustmite should be distributed with the zipped release
https://issues.dlang.org/show_bug.cgi?id=10332 Vladimir Panteleev changed: What|Removed |Added Status|REOPENED|RESOLVED Component|dmd |installer Resolution|--- |WORKSFORME --- Comment #2 from Vladimir Panteleev --- dustmite has been in the zip files since 2.065.0, closing. --
[Issue 5660] yield syntax sugar
https://issues.dlang.org/show_bug.cgi?id=5660 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --- Comment #12 from Vladimir Panteleev --- I believe it has become an accepted fact that such constructs are done in library code (either using std.concurrency, or Vibe's implementation of fibers), and said implementations are generally satisfactory. In either case, I believe that today enhancement requests to the language itself need to be presented as a D Improvement Proposal: https://github.com/dlang/DIPs If you think this proposal still has merit today, please file a DIP. The current DIP manager can assist you through the process. --
[Issue 6856] Absence of in contract (precondition) on override of method that has one is badly designed
https://issues.dlang.org/show_bug.cgi?id=6856 Vladimir Panteleev changed: What|Removed |Added Keywords||pull --
[Issue 10276] Nested structs with constructors get a context pointer even if they don't need one
https://issues.dlang.org/show_bug.cgi?id=10276 Vladimir Panteleev changed: What|Removed |Added Summary|Nested structs get a|Nested structs with |context pointer even if |constructors get a context |they don't need one |pointer even if they don't ||need one Severity|normal |enhancement --
[Issue 14478] isInputRange should allow ranges of non-copyable elements
https://issues.dlang.org/show_bug.cgi?id=14478 Vladimir Panteleev changed: What|Removed |Added Summary|isInputRange failed to |isInputRange should allow |recognize some ranges |ranges of non-copyable ||elements Severity|major |enhancement --
[Issue 15303] std.json: consider JSON5 support
https://issues.dlang.org/show_bug.cgi?id=15303 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Hardware|x86_64 |All Resolution|--- |WONTFIX OS|Linux |All --- Comment #2 from Vladimir Panteleev --- JSON5 has received lots of criticism from the technical community: https://news.ycombinator.com/item?id=4031699 http://ilee.co.uk/json5-is-pointless-and-unimaginative/ This is probably better left to a third-party Dub package. --
[Issue 17076] [scope] compiling identity function template with -dip1000 causes error
https://issues.dlang.org/show_bug.cgi?id=17076 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=8914 --
[Issue 8914] Wrong `escaping reference` error on returning static array
https://issues.dlang.org/show_bug.cgi?id=8914 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=17076 --- Comment #2 from Vladimir Panteleev --- Test case above no longer fails to compile since 2.074.0 (https://github.com/dlang/dmd/pull/6420), however, adding an indirection to the parameter type still shows the error: int*[2] f(int*[2] arr...) { return arr; } // Error: returning `arr` escapes a reference to variadic parameter `arr` --
[Issue 4104] No way to get notified about D runtime termination.
https://issues.dlang.org/show_bug.cgi?id=4104 Vladimir Panteleev changed: What|Removed |Added Keywords||patch --
[Issue 4104] No way to get notified about D runtime termination.
https://issues.dlang.org/show_bug.cgi?id=4104 Vladimir Panteleev changed: What|Removed |Added Hardware|Other |All OS|Linux |All --- Comment #3 from Vladimir Panteleev --- If this enhancement request is still actual today, please submit the patch as a pull request; otherwise, it's unlikely anything will be done about it. I'll leave this open because it doesn't seem too unlikely that another project will require a similar addition, in which case having an existing issue could be useful. --
[Issue 16618] [REG2.055] Segmentation fault in DMD with cyclic alias this and unknown identifier
https://issues.dlang.org/show_bug.cgi?id=16618 Vladimir Panteleev changed: What|Removed |Added Hardware|x86 |All Summary|Segmentation fault: 11 |[REG2.055] Segmentation ||fault in DMD with cyclic ||alias this and unknown ||identifier --
[Issue 10256] Fix .deb file production
https://issues.dlang.org/show_bug.cgi?id=10256 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WORKSFORME --- Comment #1 from Vladimir Panteleev --- I believe our .deb files have received lots of fixes within the 4 years since this issue was filed, and I don't think we're recently received any reports about problems similar to the one in the original post in the linked thread. If there are still any pertinent problems, please file a new issue for each. --
[Issue 7833] [2.059 Beta] Changelog should clearly mention struct literal/opCmp/opEquals/toHash changes
https://issues.dlang.org/show_bug.cgi?id=7833 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Component|dmd |dlang.org Resolution|--- |WONTFIX --- Comment #7 from Vladimir Panteleev --- I believe the train has left the station insofar updating the changelog goes. I believe the spec pages have received lots of updates throughout the 5 years since this issue was filed. If you believe they are still lacking in some regard, please open a new issue (or, better yet, send a pull request, as you're already accustomed with the subject.) --
[Issue 11521] Collision of templates instantiated with different same-named locals
https://issues.dlang.org/show_bug.cgi?id=11521 Vladimir Panteleev changed: What|Removed |Added Keywords||wrong-code Summary|Switch using same name |Collision of templates |variable leads to Access|instantiated with different |Violation |same-named locals Severity|normal |critical --- Comment #1 from Vladimir Panteleev --- Reduced: // test.d / void fun(alias x)() { assert(x == 1); } void main() { if (false) { int i = 0; fun!i(); } { int i = 1; fun!i(); } } /// The problem is that both fun!i instantiations have the same mangled name, even though they refer to different variables and have different code. The mangled name of local variables should have some sort of index in them. --
[Issue 6843] Function to check whether std.conv.to will succeed
https://issues.dlang.org/show_bug.cgi?id=6843 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=6840 --
[Issue 6840] std.conv.maybeTo
https://issues.dlang.org/show_bug.cgi?id=6840 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=6843 --
[Issue 5033] Add explicit 'frame context' and 'this' type modifiers for callback functions
https://issues.dlang.org/show_bug.cgi?id=5033 --- Comment #1 from Vladimir Panteleev --- I believe that this enhancement request is today possible to implement on top of D's existing introspection / metaprogramming / code-generation features. In either case, today enhancement requests to the language itself need to be presented as a D Improvement Proposal: https://github.com/dlang/DIPs Please file a DIP if you think this proposal still has merit today. The current DIP manager can assist you through the process. --
[Issue 5033] Add explicit 'frame context' and 'this' type modifiers for callback functions
https://issues.dlang.org/show_bug.cgi?id=5033 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |WONTFIX --
[Issue 7042] Allocation of 'creal' array with 'new' fails when linking without /noi switch
https://issues.dlang.org/show_bug.cgi?id=7042 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #3 from Vladimir Panteleev --- (In reply to Andrej Mitrovic from comment #2) > Perhaps we must always use /noi, in which case this is an invalid bug > report. It's certainly weird that the Microsoft linker defaults to case-insensitivity even though C is case-sensitive, but it's no surprise if weird bugs arise from said case-insensitivity. In any case, I don't see why wrong link settings need to be DMD's burden. Though it's not impossible that a workaround in DMD in theory might exist, the primary cause of this problem is clearly user error. --
[Issue 17604] Reject mutable fields initialized with reference types to data segment
https://issues.dlang.org/show_bug.cgi?id=17604 Vladimir Panteleev changed: What|Removed |Added Keywords||safe See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=15612 --
[Issue 15612] Break immutability with default initialisers
https://issues.dlang.org/show_bug.cgi?id=15612 Vladimir Panteleev changed: What|Removed |Added See Also||https://issues.dlang.org/sh ||ow_bug.cgi?id=17604 --
[Issue 11231] formattedRead accepts silently trailing space past the string to match, but no other character
https://issues.dlang.org/show_bug.cgi?id=11231 Vladimir Panteleev changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |INVALID --- Comment #1 from Vladimir Panteleev --- I believe formattedRead correctly mimics the behaviour of C's scanf function. See the documentation e.g. on http://www.cplusplus.com/reference/cstdio/scanf/. The relevant part is: > A single whitespace in the format string validates any quantity > of whitespace characters extracted from the stream (including none). Emphasis on "including none". As such, I believe the behaviour is as expected, so I'm going to close this, but please reopen if you have a compelling argument to do so. --
[Issue 10364] Mac OS 10.8 program crash
https://issues.dlang.org/show_bug.cgi?id=10364 Vladimir Panteleev changed: What|Removed |Added Component|dmd |druntime --- Comment #7 from Vladimir Panteleev --- I reproduced it with macOS 10.12 and DMD 2.074. Changing daemon(0,0) to daemon(0,1) (so that stderr isn't redirected to /dev/null) reveals a clue: core.thread.ThreadError@src/core/thread.d(3002): Unable to load thread state It looks like the daemon() call is interfering with Druntime's threading code. --
[Issue 17673] regex(["\\\\\\\\|\\\\\"", "\"|$"]) - wrong whichPattern
https://issues.dlang.org/show_bug.cgi?id=17673 Nikolay (unDEFER) Krivchenkov changed: What|Removed |Added CC||dmitry.o...@gmail.com, ||unde...@gmail.com --
[Issue 17673] New: regex(["\\\\\\\\|\\\\\"", "\"|$"]) - wrong whichPattern
https://issues.dlang.org/show_bug.cgi?id=17673 Issue ID: 17673 Summary: regex(["|\"", "\"|$"]) - wrong whichPattern Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: critical Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: unde...@gmail.com regex returns whichPattern wrongly The code demonstrating the problem: https://dpaste.dzfl.pl/d7f94068608e --
[Issue 13039] combinations
https://issues.dlang.org/show_bug.cgi?id=13039 Seb changed: What|Removed |Added CC||greensunn...@gmail.com --- Comment #2 from Seb --- See also: https://github.com/dlang/phobos/pull/4026 It has been reworked to mir.combinatorics and works in @nogc: http://docs.mir.dlang.io/latest/mir_combinatorics.html --
[Issue 16431] rdmd runs dmd twice for single-files with no dependencies
https://issues.dlang.org/show_bug.cgi?id=16431 Seb changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED |--- --- Comment #5 from Seb --- PR was reverted :/ --
[Issue 13806] std.bitmanip.BitArray -- use of methods named init() messes up templates
https://issues.dlang.org/show_bug.cgi?id=13806 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |FIXED --- Comment #7 from RazvanN --- This seems to have been solved. If there are other cases of init abuse, one can always file a new bug report. Closing as fixed. --
[Issue 14098] std.typecons.wrap should allow wrapping a struct
https://issues.dlang.org/show_bug.cgi?id=14098 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED CC||razvan.nitu1...@gmail.com Resolution|--- |FIXED --- Comment #2 from RazvanN --- It looks like this have been merged. Closing --
[Issue 17664] Deprecate implicit casting between shared and unshared
https://issues.dlang.org/show_bug.cgi?id=17664 --- Comment #3 from Steven Schveighoffer --- Making a complete independent copy of a value is not sharing, it's copying. shared doesn't care about the semantic meaning of your integer. It only cares if multiple threads have access to the same memory in RAM. That's its only goal. Anything above that is on you to provide appropriate protections. In other words, don't use int handle, use some UnshareableResource struct that protects the handle internally from accidentally sharing. --
[Issue 17664] Deprecate implicit casting between shared and unshared
https://issues.dlang.org/show_bug.cgi?id=17664 --- Comment #2 from anonymous4 --- The idea that sharing is opt out contradicts the idea behind shared qualifier. --
[Issue 17671] std.format example is not compiles
https://issues.dlang.org/show_bug.cgi?id=17671 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC||greensunn...@gmail.com Resolution|--- |FIXED --- Comment #1 from Seb --- Thanks a lot for reporting this issue. We do have a pipeline in place, s.t. all runnable examples are automatically checked: http://dlang.org/blog/2017/03/08/editable-and-runnable-doc-examples-on-dlang-org However, in this case the example changed from 2.074.0 to 2.075.0 as a new feature ws introduced and the daily cron to update the backend didn't run yet. I manually updated it now and everything works again: Run the example: https://is.gd/b3UxtJ See the change that introduced it for 2.075.0: https://github.com/dlang/phobos/commit/cc8eff102f4ddcf15c4def1a5b87786c3040689d --
[Issue 17672] Example from std.format throws exceptions
https://issues.dlang.org/show_bug.cgi?id=17672 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC||greensunn...@gmail.com Resolution|--- |FIXED --- Comment #1 from Seb --- Thanks a lot for reporting this issue. We do have a pipeline in place, s.t. all runnable examples are automatically checked: http://dlang.org/blog/2017/03/08/editable-and-runnable-doc-examples-on-dlang-org However, in this case the example changed from 2.074.0 to 2.075.0 as a new feature ws introduced and the daily cron to update the backend didn't run yet. I manually updated it now and everything works again: Run the example: https://is.gd/b3UxtJ See the change that introduced it for 2.075.0: https://github.com/dlang/phobos/commit/cc8eff102f4ddcf15c4def1a5b87786c3040689d --
[Issue 17670] Std.bitmanip module has no (runnable) examples
https://issues.dlang.org/show_bug.cgi?id=17670 Seb changed: What|Removed |Added CC||greensunn...@gmail.com --- Comment #1 from Seb --- FYI: There is a DScanner check has_public_example which is already partially enabled. However, the blacklist of modules still exists. For an example on how trimming down works: https://github.com/dlang/phobos/pull/5581 --
[Issue 1998] std.bitarray should have setAll / opSliceAssign(bool) etc
https://issues.dlang.org/show_bug.cgi?id=1998 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #2 from RazvanN --- PR : https://github.com/dlang/phobos/pull/5634 --
[Issue 16403] wrong "matches more than one template declaration" error with template specialization on alias parameters
https://issues.dlang.org/show_bug.cgi?id=16403 Vladimir Panteleev changed: What|Removed |Added Hardware|x86_64 |All OS|Linux |All --
[Issue 17672] New: Example from std.format throws exceptions
https://issues.dlang.org/show_bug.cgi?id=17672 Issue ID: 17672 Summary: Example from std.format throws exceptions Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: minor Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: al.iv.k...@gmail.com Examples: writeln(format("%,d", 1000)); // "1,000" writeln(format("%,f", 1234567.891011)); // "1,234,567.891,011" writeln(format("%,?d", '?', 1000)); // "1?000" writeln(format("%,1d", 1000)); // "1,0,0,0" writeln(format("%,*d", 4, -12345)); // "-1,2345" writeln(format("%,*?d", 4, '_', -12345)); // "-1_2345" writeln(format("%,6?d", '_', -12345678)); // "-12_345678" assert(format("%12,3.3f", 1234.5678) == " 1,234.568", "'" ~ format("%12,3.3f", 1234.5678) ~ "'"); from https://dlang.org/phobos/std_format.html throws exceptions. E.g.: std.format.FormatException@/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(1744): integral --
[Issue 17668] regex(q"<[^]>")
https://issues.dlang.org/show_bug.cgi?id=17668 Nikolay (unDEFER) Krivchenkov changed: What|Removed |Added CC||unde...@gmail.com --
[Issue 17667] regex([r".", r"[\(\{[\]\}\)]"]);
https://issues.dlang.org/show_bug.cgi?id=17667 Nikolay (unDEFER) Krivchenkov changed: What|Removed |Added CC||unde...@gmail.com --
[Issue 17671] New: std.format example is not compiles
https://issues.dlang.org/show_bug.cgi?id=17671 Issue ID: 17671 Summary: std.format example is not compiles Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: critical Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: goldmax3...@gmail.com The simple example (run on dlang site) writeln(format("%,d", 1000)); gives error: std.format.FormatException@/dlang/dmd/linux/bin64/../../src/phobos/std/format.d(1744): integral --
[Issue 17670] New: Std.bitmanip module has no (runnable) examples
https://issues.dlang.org/show_bug.cgi?id=17670 Issue ID: 17670 Summary: Std.bitmanip module has no (runnable) examples Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: minor Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: razvan.nitu1...@gmail.com The vast majority of functions contained in std.bitmanip have no examples. --