D Compiler as a Library

David Nadlinger see at klickverbot.at
Sat Apr 21 10:49:06 PDT 2012


On Thursday, 19 April 2012 at 16:38:31 UTC, Marco Leise wrote:
> Doesn't the D module system make symbols unique?

---
void someFunction() {
   {
     int someVariable = 3;
     // ...
   }
   {
     int someVariable = 1000;
     // ...
   }
}
---

How do you target the someVariable symbol from the second block?

David


More information about the Digitalmars-d mailing list