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


Lars T. Kyllingstad <bugzi...@kyllingen.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzi...@kyllingen.net


--- Comment #6 from Lars T. Kyllingstad <bugzi...@kyllingen.net> 2010-12-21 
00:37:40 PST ---
I think this is a bug after all.  What does the symbol 'name' refer to inside
the template?  The string or the struct?  Here's a similar example, which quite
correctly fails to compile:

  void foo(string bar)
  {
      struct bar { }
  }

In this case, the compiler says "Error: declaration bar is already defined".

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

Reply via email to