Bug 18469 – [REG 2.079-b1] Segfault when trying to get type of __dtor.opCall
Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2018-02-19T13:29:28Z
Last change time
2018-02-20T18:07:07Z
Keywords
ice, pull
Assigned to
No Owner
Creator
Basile B.
Comments
Comment #0 by b2.temp — 2018-02-19T13:29:28Z
this crash the compiler:
```
class Bar
{
~this(){}
this(){alias T = typeof(Bar.__dtor.opCall);}
}
void main() {}
```
instead of "Error: no property 'opCall' for type 'void'", like previously.
Nonsense test case is because it is reduced from an usage of std.traits.isCallable.
Comment #3 by razvan.nitu1305 — 2018-02-20T08:58:22Z
This should have been close when the PR was merged. Manually cloasing as fixed. Thanks for the joint effort Basile B. and bitter.taste.
Comment #4 by code — 2018-02-20T12:17:56Z
(In reply to RazvanN from comment #3)
> This should have been close when the PR was merged. Manually cloasing as
> fixed. Thanks for the joint effort Basile B. and bitter.taste.
No, @RazvanN, we've reconfigure the GH-Bugzilla integration to only close issues once the fixes are merged into master, so to cause less confusion with sth. being only fixed in some branches.
Comment #5 by github-bugzilla — 2018-02-20T18:07:06Z