http://d.puremagic.com/issues/show_bug.cgi?id=1532
Don <clugd...@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugd...@yahoo.com.au Resolution| |FIXED --- Comment #2 from Don <clugd...@yahoo.com.au> 2011-04-14 15:28:21 PDT --- This was actually a diagnostic error, it is fixed by 2.020. The error message now explains that the template must be global; there's actually no difference in behaviour between function locals and class locals. Marking this as FIXED because of the error message (nobody will be confused again in the same way). The code still doesn't compile, but the code below has always worked: template Bar(alias local) { } class Foo { int x; alias Bar!(x) bar; } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------