[Issue 19065] Struct invariant violated in @safe with T.init

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19065 Ali Ak changed: What|Removed |Added CC||ali.akhtarz...@gmail.com --- Comment #4 from Ali

[Issue 18955] extern(C++) default struct mangling is overridden when interacting with a `cppmangle = class` tamplate

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18955 --- Comment #3 from Manu --- I'm sorry. I think I must have cut fail-ed. Remove the `Alloc` arg: --- extern (C++, std) { struct char_traits(Char) { } extern (C++, class) struct

[Issue 19081] Can't declare enum with UDA at statement level

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19081 --- Comment #2 from Yuxuan Shui --- This is because, at statement level, enum is also a storage class: enum X = 10; I wonder why declaring enum without a UDA works at statement level. I smell terrible hacks. --

[Issue 19081] Can't declare enum with UDA at statement level

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19081 Yuxuan Shui changed: What|Removed |Added Summary|Can't declare enum with UDA |Can't declare enum with UDA

[Issue 19070] Invalid octal literals `01` through `07` allowed

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19070 --- Comment #1 from Hiroki Noda --- Attemptive PR : https://github.com/dlang/dmd/pull/8490 --

[Issue 19081] New: Can't declare enum with UDA in unittest blocks

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19081 Issue ID: 19081 Summary: Can't declare enum with UDA in unittest blocks Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement

[Issue 3567] std.traits: Unqual strips qualifiers on structs with references that would break const/immutable.

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3567 --- Comment #9 from Steven Schveighoffer --- I think a trait "ForceUnqual" may be needed in some cases, but "Unqual" I have always expected to behave the way it does (except in the case of structs containing references, for which it should not strip

[Issue 3567] std.traits: Unqual strips qualifiers on structs with references that would break const/immutable.

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3567 --- Comment #8 from Timoses --- (In reply to Steven Schveighoffer from comment #6) > Note, the bug here in FeepingCreature's case is that it strips more than it > should. It is supposed to be safe to use Unqual. > > So the expectation that Unqual

[Issue 3567] std.traits: Unqual strips qualifiers on structs with references that would break const/immutable.

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3567 --- Comment #7 from Timoses --- (In reply to Steven Schveighoffer from comment #6) > I'm changing the title accordingly. Perhaps we should actually close this > bug and open another, as the whole issue has really been flipped around? Perhaps you're

[Issue 19059] Invalid integer literal 08 and 09 allowed

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19059 --- Comment #8 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/90ab1b325f26d08bd770cd9fd44bed085c775ad9 Fix Issue 19059 - Disallow `08` and `09` in integer literal

[Issue 3567] std.traits: Unqual strips qualifiers on structs with references that would break const/immutable.

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3567 Steven Schveighoffer changed: What|Removed |Added Summary|std.traits: Unqual doesn't |std.traits: Unqual strips

[Issue 18979] Template constructor bypasses private

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18979 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #1 from

[Issue 18955] extern(C++) default struct mangling is overridden when interacting with a `cppmangle = class` tamplate

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18955 Mike Franklin changed: What|Removed |Added CC||slavo5...@yahoo.com --- Comment #2 from

[Issue 19080] Order of overloads affects the chosen method

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19080 --- Comment #1 from RazvanN --- (In reply to RazvanN from comment #0) > //a.d > struct Foo > { > private void fun(A)(A a) {} > void fun(int a) {} > } > > struct Bar > { > void fun(int a) {} > private void fun(A)(A a) {} > } > > //

[Issue 19080] New: Order of overloads affects the chosen method

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19080 Issue ID: 19080 Summary: Order of overloads affects the chosen method Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 8338] Unqual's documentation doesn't reflect its behavior on types with indirections

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8338 Timoses changed: What|Removed |Added CC||timos...@gmail.com --- Comment #7 from Timoses

[Issue 3567] std.traits: Unqual doesn't handle arrays well

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=3567 Timoses changed: What|Removed |Added CC||timos...@gmail.com --- Comment #5 from Timoses

[Issue 19079] New: Destructors not called in named unions

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19079 Issue ID: 19079 Summary: Destructors not called in named unions Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal

[Issue 19076] dmd 2.081 crashed by getVirtualFunctions for a interface extended interface

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19076 --- Comment #8 from RazvanN --- (In reply to kntroh from comment #7) > (In reply to Basile B. from comment #5) > > sorry kntroh, i've been misleaded it was so similar. > It's nothing :). > Thanks for the quick fix! Don't mention it! --

[Issue 19078] New: dmd does not remove inlined functions

2018-07-12 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=19078 Issue ID: 19078 Summary: dmd does not remove inlined functions Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: enhancement