[Issue 18260] ICE on template this parameter and alias this

2020-03-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 Basile-z changed: What|Removed |Added CC|b2.t...@gmx.com | --

[Issue 18260] ICE on template this parameter and alias this

2019-07-16 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 Basile-z changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18260] ICE on template this parameter and alias this

2018-03-28 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 Seb changed: What|Removed |Added CC||greensunn...@gmail.com ---

[Issue 18260] ICE on template this parameter and alias this

2018-02-20 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 --- Comment #4 from Simen Kjaeraas --- This seems flaky. The example in comment #3 compiles under 2.078.3, but the first example still causes DMD to freeze. --

[Issue 18260] ICE on template this parameter and alias this

2018-01-19 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 --- Comment #3 from Simen Kjaeraas --- Slightly different version where the given workarounds don't work: struct R(T) { // Used 'auto' here, but 'This' or 'R!(const int)' gives same behavior. // Marking the method

[Issue 18260] ICE on template this parameter and alias this

2018-01-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 --- Comment #2 from Andrei Alexandrescu --- A better workaround: struct R { int[] arr; alias get this; This get(this This)() { return This.init; } } unittest { const(R) b = const(R).init; } I

[Issue 18260] ICE on template this parameter and alias this

2018-01-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 Andrei Alexandrescu changed: What|Removed |Added CC||and...@erdani.com

[Issue 18260] ICE on template this parameter and alias this

2018-01-18 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18260 anonymous4 changed: What|Removed |Added Hardware|x86 |All