[Issue 18584] Undefined identifier when not specifying 'this'

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18584 Mike Franklin changed: What|Removed |Added CC||slavo5...@yahoo.com

[Issue 18574] Unclear error message when trying to inherit from multiple classes

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18574 --- Comment #1 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/f669389682636b0d2902f4c4567b04e1cc72cb4d Fix issue 18574: Unclear error message when trying to inherit

[Issue 18574] Unclear error message when trying to inherit from multiple classes

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

[Issue 18573] `cast(void)` leads to floating point return value not being popped from FPU stack

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18573 ag0ae...@gmail.com changed: What|Removed |Added Summary|std.algorithm each does not |`cast(void)` leads to

[Issue 12486] Function returning struct isn't called if `enum` of its result is accessed

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12486 ag0ae...@gmail.com changed: What|Removed |Added CC||ag0ae...@gmail.com --- Comment #3 from

[Issue 18560] find on infinite ranges is broken

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18560 ag0ae...@gmail.com changed: What|Removed |Added Keywords|wrong-code | Component|dmd

[Issue 12486] Function returning struct isn't called if `enum` of its result is accessed

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12486 ag0ae...@gmail.com changed: What|Removed |Added See Also||https://issues.dlang.org/sh

[Issue 12486] Function returning struct isn't called if `enum` of its result is accessed

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12486 ag0ae...@gmail.com changed: What|Removed |Added CC||default_357-l...@yahoo.de --- Comment

[Issue 18562] expression is not evaluated when accessing manifest constant

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18562 ag0ae...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18585] New: Linker error if compiled with -dip1000

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18585 Issue ID: 18585 Summary: Linker error if compiled with -dip1000 Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal

[Issue 10488] Allow template this parameter to work with static functions

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10488 Nick Treleaven changed: What|Removed |Added CC||blah38...@gmail.com ---

[Issue 14191] Failure to locate overload with template this parameter

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14191 Nick Treleaven changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 17773] this template parameter not working from derived class

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17773 Nick Treleaven changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14484] IFTI doesn't work with TemplateThisParameter and inheritance

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14484 Nick Treleaven changed: What|Removed |Added CC||c...@dawg.eu --- Comment

[Issue 17773] this template parameter not working from derived class

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17773 Nick Treleaven changed: What|Removed |Added CC||n...@geany.org --- Comment

[Issue 18575] making delegate from member function can lead to unsafe code

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18575 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/75966dac262efb407bfedc6e1ed993802d95c7c8 fix Issue 18575 - making delegate from member function can

[Issue 9551] template this parameter not recognized in constructors

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9551 Nick Treleaven changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18580] std.conv.to!(ubyte[])(void[]) should work

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18580 --- Comment #7 from Jonathan M Davis --- Going from void[] to anything is the safety problem, because that's when the data would potentially be reintrepreted incorrectly. Going to void[] from anything doesn't directly

[Issue 18580] std.conv.to!(ubyte[])(void[]) should work

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18580 --- Comment #6 from ag0ae...@gmail.com --- (In reply to Jack Stouffer from comment #5) > Well the argument there is that the conversion from p to v should be unsafe, > but not the conversion of v to b. Either or, I guess. Either you forbid going

[Issue 18580] std.conv.to!(ubyte[])(void[]) should work

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18580 --- Comment #5 from Jack Stouffer --- (In reply to ag0aep6g from comment #4) > (In reply to Jack Stouffer from comment #3) > > Is it unsafe though? In this specific case of void[] to ubyte[] (or vise > > versa) isn't it ok? >

[Issue 18584] New: Undefined identifier when not specifying 'this'

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18584 Issue ID: 18584 Summary: Undefined identifier when not specifying 'this' Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal

[Issue 18583] Wrong symbol in error message

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18583 --- Comment #1 from Simen Kjaeraas --- Further simplified: struct S { int n; enum t = tmp!n; } string tmp(alias T)() { return ""; } It seems tmp has to be a function template - reducing it to `enum tmp(alias T) =

[Issue 18583] New: Wrong symbol in error message

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18583 Issue ID: 18583 Summary: Wrong symbol in error message Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P1

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

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16037 Mathias Lang changed: What|Removed |Added Status|REOPENED|RESOLVED

[Issue 9983] inout type can not be used as a parameter for structure template

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=9983 --- Comment #1 from anonymous4 --- Looks like it can be solved by smart enough container constructors. See this quick PoC: --- struct Container(T) { T value; inout(T) get() inout {

[Issue 18561] postblit should allow writing const/immutable members just like constructors

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18561 --- Comment #6 from anonymous4 --- (In reply to Steven Schveighoffer from comment #2) > This does not address postblits being called on const data types (with > `this` being mutable during the postblit). That is a different

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

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

[Issue 18576] Compiler not doing RVO with auto returns

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18576 --- Comment #1 from Walter Bright --- https://github.com/dlang/dmd/pull/7990 --

[Issue 18582] C++ namespace mangling from multiple modules doesn't use sequence ids

2018-03-09 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18582 Markus changed: What|Removed |Added CC|