http://d.puremagic.com/issues/show_bug.cgi?id=8106
--- Comment #16 from Kenji Hara <k.hara...@gmail.com> 2012-06-25 20:49:35 PDT --- (In reply to comment #15) > How about: > > 1. reverting the > > is(typeof(foo) P == function) > > to the old 2.059 behavior of being a type tuple only. I think it is necessary. > 2. adding a "parameters" to traits, so that: > > __traits(parameters, foo) > > returns a tuple that includes types, identifiers, and default values (like the > 2.060 beta does now)? That is the most handy way now we can do. And, to wrap the feature, we can add utility templates to std.trait. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------