[Issue 9521] Missed with() anti-hijacking
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Nov 22 22:02:10 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=9521
yebblies <yebblies at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yebblies at gmail.com
--- Comment #1 from yebblies <yebblies at gmail.com> 2013-11-23 17:02:07 EST ---
void foo() is _not_ a local symbol.
An analogous version of the second example would be:
struct Foo { int x; }
int x;
void main() {
Foo f;
with (f) {
x++;
}
}
Which does _not give an error.
--
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