[Issue 10329] Attributes not inferred for indirectly templated methods

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 14 12:27:32 PDT 2013


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



--- Comment #2 from Lars T. Kyllingstad <bugzilla at kyllingen.net> 2013-06-14 12:27:31 PDT ---
Attributes should also be inferred for functions nested in function templates:

  void foo(T)()
  {
      void inner() { }
      inner();
  }

  void main() @safe pure nothrow
  {
      // Compilation failure:
      foo!int();
  }

-- 
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