[Issue 10979] Add trait for function callgraph extraction, to allow "builtin attribute"-style UDA semantic checks

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 8 14:07:09 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=10979


Nick Sabalausky <cbkbbejeap at mailinator.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbkbbejeap at mailinator.com


--- Comment #4 from Nick Sabalausky <cbkbbejeap at mailinator.com> 2013-10-08 14:07:06 PDT ---
(In reply to comment #1)
> Anyway this will likely need a lot more thought and discussion before an
> implementation is even considered. E.g. the first problem I can think of, is
> what happens when a function in the graph is private? Can we still call
> __traits on it? It probably warrants a NG discussion.

Reflection normally bypasses visibility restrictions such as private. Maybe I
just haven't paid enough attention, but I've never seen a case in any language
where privates were hidden from reflection.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list