Ddoc and version
Derek Parnell
derek at nomail.afraid.org
Thu Aug 17 00:59:16 PDT 2006
This may not be a bug in that this might be the way is was intended to
behave, however if it a nuisance.
version(XYZZY)
{
/** Some description.
*/
}
else
{
/** Some other description.
*/
}
void someFunc()
{
...
}
This results in no documentation for the function.
To get anything I have to do ...
version(XYZZY)
{
/** Some description.
*/
void someFunc()
{
...
}
}
else
{
/** Some other description.
*/
void someFunc()
{
...
}
}
Notice that I have to repeat the function's source code, which now doubles
my maintenance effort for it. Not happy. :(
--
Derek
(skype: derek.j.parnell)
Melbourne, Australia
"Down with mediocrity!"
17/08/2006 5:53:58 PM
More information about the Digitalmars-d-bugs
mailing list