← Back to index
|
Original Bugzilla link
Bug 9940 – ICE applying getProtection to a functions obtained using getOverloads.
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-04-16T13:32:00Z
Last change time
2013-05-17T09:16:25Z
Assigned to
nobody
Creator
wazar.leollone
Comments
Comment #0
by wazar.leollone — 2013-04-16T13:32:48Z
struct Test24 { public void test24(int){} private void test24(int, int){} } //ICE: static assert(__traits(getProtection, __traits(getOverloads, Test24, "test24")[1]) == "private");
Comment #1
by code — 2013-05-17T09:16:25Z
https://github.com/D-Programming-Language/dmd/pull/1724
https://github.com/IgorStepanov/dmd/commit/6669150ab877d4d428425aa368709d649d5a382e