[Issue 18953] Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 --- Comment #1 from Rainer Schuetze --- Probalby happens because TypeInfo_Struct.destroy doesn't use the expected __thiscall calling convention: https://github.com/dlang/druntime/blob/master/src/object.d#L2010 --

[Issue 18953] New: Win32: extern(C++) struct destructor not called correctly through runtime

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18953 Issue ID: 18953 Summary: Win32: extern(C++) struct destructor not called correctly through runtime Product: D Version: D2 Hardware: x86 OS: Windows

[Issue 8161] give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 --- Comment #12 from Jonathan M Davis --- I'd advise against relying on @property for any kind of metaprogramming at this point given that it doesn't actually have anything to do with whether the function can be or is used as a property and that its

[Issue 8161] give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 --- Comment #11 from bitwise --- I think @property could be useful in metaprogramming as a means of saying "This function acts like a field". Rather than going through all kinds of checks to see if the symbol was useable as such, it would suffice to

[Issue 18922] dmd doesn't do substitutions for C++ namespaces in different module/file

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18922 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/9a1b4467cc175881c5d07f468437a27d5875449f Fix issue 18922: No substitutions for C++ namespaces in

[Issue 18922] dmd doesn't do substitutions for C++ namespaces in different module/file

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

[Issue 8161] give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 --- Comment #10 from Jonathan M Davis --- -property was dropped precisely because it was decided to not enforce @property, and the future of @property is very uncertain. The odds are very high that when Walter and Andrei finally get around to

[Issue 18024] checkedint.Abort should be @safe

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18024 --- Comment #7 from Seb --- See also https://github.com/dlang/phobos/pull/6550 for yet another PR on this problem --

[Issue 18952] std.experimental.checkedint.Saturate prints integral promotion deprecation message

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18952 --- Comment #1 from Seb --- PR https://github.com/dlang/phobos/pull/6549 --

[Issue 18952] New: std.experimental.checkedint.Saturate prints integral promotion deprecation message

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18952 Issue ID: 18952 Summary: std.experimental.checkedint.Saturate prints integral promotion deprecation message Product: D Version: D2 Hardware: All OS: All

[Issue 8161] give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 --- Comment #9 from Nick Treleaven --- 1. The text of this issue mentions -property, but I don't see why we shouldn't reject the cases it describes *regardless* of the -property switch. (This is why I removed the switch from the issue title). 2. This

[Issue 18949] Array literals don't work with betterc

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18949 anonymous4 changed: What|Removed |Added Keywords||betterC Hardware|x86

[Issue 16037] assigning delegate to a scope variable shouldn't allocate closure

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 anonymous4 changed: What|Removed |Added Keywords||betterC Status|RESOLVED

[Issue 18949] Array literals don't work with betterc

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18949 anonymous4 changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 18951] package static method masked by public static method in class

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

[Issue 18558] Template alias spec incomplete

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18558 Nick Treleaven changed: What|Removed |Added Keywords||pull URL|

[Issue 8161] give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 --- Comment #8 from Jonathan M Davis --- (In reply to Nick Treleaven from comment #7) > Updated the title. Please give a reason why dmd shouldn't reject invalid > @property functions. The rules for using functions as properties currently have

[Issue 8161] give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 Nick Treleaven changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WONTFIX

[Issue 8161] -property should give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 Jonathan M Davis changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Issue 8161] -property should give an error for invalid property functions

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8161 Nick Treleaven changed: What|Removed |Added Keywords||pull URL|

[Issue 18951] package static method masked by public static method in class

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18951 FeepingCreature changed: What|Removed |Added Summary|static package masked by|package static method

[Issue 18951] static package masked by static public in class

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18951 FeepingCreature changed: What|Removed |Added Severity|enhancement |normal --

[Issue 12511] static overloaded function is not accessible

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12511 --- Comment #6 from FeepingCreature --- Filed as https://issues.dlang.org/show_bug.cgi?id=18951 --

[Issue 18951] New: static package masked by static public in class

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18951 Issue ID: 18951 Summary: static package masked by static public in class Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 18950] New: Std.zip vulnerable to arbitrary file write

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18950 Issue ID: 18950 Summary: Std.zip vulnerable to arbitrary file write Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major

[Issue 18945] immutable variable is used as if it's an enum

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18945 --- Comment #11 from David Bennett --- (In reply to Simen Kjaeraas from comment #10) > (In reply to David Bennett from comment #9) > > https://run.dlang.io/is/zZWdIQ > > > > Only works currently with static immutable > > What do you mean? It works

[Issue 12511] static overloaded function is not accessible

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12511 FeepingCreature changed: What|Removed |Added CC||default_357-l...@yahoo.de --- Comment #5

[Issue 18945] immutable variable is used as if it's an enum

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18945 --- Comment #10 from Simen Kjaeraas --- (In reply to David Bennett from comment #9) > https://run.dlang.io/is/zZWdIQ > > Only works currently with static immutable What do you mean? It works perfectly with enum: https://run.dlang.io/is/3Xy5pI --

[Issue 16692] New debug experience: possible to execute pure functions during expression evaluation?

2018-06-06 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16692 --- Comment #11 from Rainer Schuetze --- I'm currently still trying to figure out how to deal with slices and delegates, because they are returned in a way incompatible with any C++ ABI. There is currently no annotation of pure or const in the