D - Documentation error
- Mik Mifflin <mik42 NOadelphiaSPAM.net> Feb 17 2004
- Manfred Nowak <svv1999 hotmail.com> 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








Manfred Nowak <svv1999 hotmail.com>