http://d.puremagic.com/issues/show_bug.cgi?id=7703
Summary: [UFCS] explicit template function instantiation as property Product: D Version: D2 Platform: All OS/Version: All Status: NEW Keywords: rejects-valid Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: k.hanaz...@gmail.com --- Comment #0 from Kasumi Hanazuki <k.hanaz...@gmail.com> 2012-03-13 15:21:09 PDT --- DMD(2.059HEAD) rejects UFCS with an explicitly instantiated template function called as a property. ---- void f(T)(T a) { } void main() { int x; x.f; // accepted x.f(); // accepted x.f!int; // rejected -- "f(x) isn't a template" x.f!int(); // accepted } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------