[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14251 Walter Bright changed: What|Removed |Added Keywords||pull --- Comment #9 from Walter Bright ---

[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14251 --- Comment #10 from Walter Bright --- I have serious misgivings about this being even a bug. The monitor is outside of the type system, and should work regardless of the type of the class object. Also, I don't see a good reason why it shouldn't work

[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14251 --- Comment #11 from ZombineDev --- A const reference to an object may actually refer to a immutable object. If such object sits in ROM than failure of the compiler to prevent such error (modification of the monitor) may have bad consequences (depend

[Issue 14251] synchronized (mtx) doesn't check attributes (pure, const)

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14251 --- Comment #12 from ZombineDev --- (In reply to Walter Bright from comment #8) > (In reply to ZombineDev from comment #7) > > The OP issue doesn't mention class monitors. The bug also affects raw sync > > primitives like core.sync.mutex and in gener

[Issue 15306] Delegates with shared context can have unshared aliasing

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15306 Walter Bright changed: What|Removed |Added Keywords||pull CC|

[Issue 16095] a delegate can mutate immutable data and break shared / non-shared enforcements

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

[Issue 16095] a delegate can mutate immutable data and break shared / non-shared enforcements

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16095 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/3c53a0fd9ed1b40f8dbeb75b4dfa11f6df5b3062 fix Issue 16095 - a delegate can mutate immutable data and bre

[Issue 16434] New: dmd assertion failure in declaration.d

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16434 Issue ID: 16434 Summary: dmd assertion failure in declaration.d Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: regression Priority

[Issue 16435] New: Wrong error message for bad selective import

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16435 Issue ID: 16435 Summary: Wrong error message for bad selective import Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priorit

[Issue 7410] Wrong error message for selective import

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7410 John Colvin changed: What|Removed |Added Keywords||accepts-invalid CC|

[Issue 7410] Wrong error message for selective import

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7410 --- Comment #2 from John Colvin --- just seen that this was a d1 bug, Should I bump it to d2 seeing as there's still a problem, or open a new one? --

[Issue 16413] multiSort doesn't work with @system comparison function

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16413 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/7c7af21d48be942402008e879976f85093a33d37 add test for Issue 16413 https://github.com/dlang/phobo

[Issue 16413] multiSort doesn't work with @system comparison function

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

[Issue 16338] sort variantArray bug

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16338 b2.t...@gmx.com changed: What|Removed |Added Severity|enhancement |normal --

[Issue 16436] New: Implement pragma(switches, "")

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16436 Issue ID: 16436 Summary: Implement pragma(switches, "") Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1

[Issue 16436] Implement pragma(switches, "")

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16436 --- Comment #1 from b2.t...@gmx.com --- pragma(switches, "-inline -O"); --

[Issue 16437] New: Enum type inference

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16437 Issue ID: 16437 Summary: Enum type inference Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Comp

[Issue 15371] __traits(getMember) should bypass the protection

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15371 --- Comment #7 from b2.t...@gmx.com --- related https://issues.dlang.org/show_bug.cgi?id=10267 --

[Issue 15306] Delegates with shared context can have unshared aliasing

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=15306 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/96136d6e4b1330650ca1fbf5afa57c2758ee18d3 fix Issue 15306 - Delegates with shared context can have unsha

[Issue 15306] Delegates with shared context can have unshared aliasing

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

[Issue 10552] Cannot apply access specifiers to individual anonymous enum members

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10552 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 10553] Access specifiers on anon enums have no effect

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10553 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 4595] [tdpl] Accessing non-static member of a null reference compiles

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4595 Andrej Mitrovic changed: What|Removed |Added OS|Windows |All --- Comment #17 from Andrej Mitrovic -

[Issue 4734] immutable return type specifier without parantheses confuses the compiler

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=4734 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 5806] std.concurrency : Need the count of a thread's message queue

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5806 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 5862] case statement allows runtime values

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5862 Andrej Mitrovic changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Issue 6022] auto return type inference could be improved

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6022 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 6101] Documentation for dead modules still distributed with DMD

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6101 Andrej Mitrovic changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Issue 6125] to!string doesn't throw on invalid UTF sequence

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6125 Andrej Mitrovic changed: What|Removed |Added CC||and...@erdani.com --- Comment #1 from Andre

[Issue 6239] HTOD: Add support for converting opaque C types to D

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6239 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 6349] HTOD needs -od or -of switch

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6349 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 16438] New: std.typelist still exists!

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16438 Issue ID: 16438 Summary: std.typelist still exists! Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: major Priority: P1 Com

[Issue 6573] Add isOneOf to std.traits

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=6573 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7145] Implement initializedArray in std.array

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7145 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7191] ctor/opAssign doesn't play nice with field initialization

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7191 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7244] Access Violation with optimized build when using memory-mapped file

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7244 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 7483] Can't recursively call function with auto return

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7483 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 8017] Shadowing declaration not detected in opApply

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8017 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 8228] Mixin template can't add constructor to class

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8228 --- Comment #3 from Andrej Mitrovic --- Indeed this is not technically a bug at all, for example: http://dlang.org/spec/template-mixin.html#mixin_scope *However*, we could make it a compiler error to define constructors in mixin templates as they ca

[Issue 8231] conv.to fails to convert string with trailing "u"

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8231 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 8815] alias modification silently fails on nested fields

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8815 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9380] deprecated statement string expression is too limited

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9380 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9324] Can't assign a type with a Tuple subtype to a Tuple

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9324 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9381] package access can be abused and worked around

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9381 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9408] invariant should be non-const by default and settable to const

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9408 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9827] Duplicate file on command-line issues a bad diagnostic

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9827 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9828] Inconsistent lowering of 1-element tuple to its element

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9828 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9833] version(unittest) should be included in documented unittests

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9833 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9838] Allow calling aliased method on an object

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9838 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9849] Introduce BaseElementType and BaseRangeType

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9849 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9854] Cannot directly subtype a type tuple

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9854 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9864] Allow instantiating eponymous inner template with a single parameter list

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9864 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9867] Map opIndex is not usable with immutable types

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9867 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 9930] enum members should be hidden in an enum instance

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9930 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 10257] .tupleof loses protection information upon iteration

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10257 Andrej Mitrovic changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 1223] .tupleof tries to access protected members

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1223 Andrej Mitrovic changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Issue 10276] Nested structs get a context pointer even if they don't need one

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10276 Andrej Mitrovic changed: What|Removed |Added Keywords||performance --- Comment #2 from Andrej Mit

[Issue 16363] Cannot construct a random access range using frontTransversal

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16363 gruen_tob...@web.de changed: What|Removed |Added CC||gruen_tob...@web.de Assignee|

[Issue 16363] Cannot construct a random access range using frontTransversal

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16363 gruen_tob...@web.de changed: What|Removed |Added Assignee|gruen_tob...@web.de |nob...@puremagic.com --

[Issue 16363] Cannot construct a random access range using frontTransversal

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16363 gruen_tob...@web.de changed: What|Removed |Added Assignee|nob...@puremagic.com|gruen_tob...@web.de --

[Issue 13826] Move volatileLoad/Store to core.volatile when the volatile keyword is removed

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13826 --- Comment #1 from Mike --- volatile keyword was removed in March 2016: https://github.com/dlang/dmd/pull/5556 --

[Issue 16436] Implement pragma(switches, "")

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16436 Ketmar Dark changed: What|Removed |Added CC||ket...@ketmar.no-ip.org --- Comment #2 from Ke

[Issue 16436] Implement pragma(switches, "")

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16436 --- Comment #3 from b2.t...@gmx.com --- (In reply to Ketmar Dark from comment #2) > what is wrong with: > > #!rdmd -O -inline > import std.stdio; > void main () { writeln("hi!"); } > > ??? hint: it starts with a "Win" and ends with a "dows". --

[Issue 16436] Implement pragma(switches, "")

2016-08-27 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16436 --- Comment #4 from Ketmar Dark --- so instead of windows users writing bugreports to their OS vendor, we should add completely useless code to the compiler. i somehow doesn't feel that this solution is actually solves anything. --