digitalmars.D.bugs - Mistake in docs: Block Statement
- Lionello Lunesu (12/12) Mar 25 2005 http://www.digitalmars.com/d/statement.html#block
http://www.digitalmars.com/d/statement.html#block says: void func3() { { int x; } { int x; // illegal, x is multiply defined in function scope } } I didn't understand the comment so I tested it, and it seems DMD 0.119 has no problems with it. Should the documentation be updated? Lionello.
Mar 25 2005