D - Documentation error
- Mik Mifflin (13/13) Feb 17 2004 There appears to be a documentation error at http://www.digitalmars.com/...
- Manfred Nowak (6/7) Feb 17 2004 [...]
There appears to be a documentation error at http://www.digitalmars.com/d statement.html#block. void func3() { { int x; } { int x; // illegal, x is multiply defined in function scope } } This compiles fine, and makes no sense as the next example in the docs contradicts it. Anyone want to clarify? -- - Mik Mifflin
Feb 17 2004
Mik Mifflin wrote: [...]{ int x; // illegal, x is multiply defined in function scope[...] This is reported already ... however it does not matter to report it more than once. :-) So long.
Feb 17 2004