[Issue 11720] Function-local static variables should cause "already defined in another scope" error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Dec 11 07:16:19 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11720
--- Comment #7 from Orvid King <blah38621 at gmail.com> 2013-12-11 07:16:12 PST ---
While yes I would agree that:
{ static int v = 1; }
{ static int v = 1; }
Should be an error, and thus the PR should be merged. I don't agree that the
reason this issue was created:
foreach (T; TypeTuple!(int, double))
{
static temp = T.stringof;
}
should be an error, sorry if I failed to explain myself well enough originally.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list