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