simendsjo Wrote:

> Are these pages written using DDoc? Is it possible to extract and compile the 
> examples to
> ensure they are correct? And perhaps use asserts instead of/in addition to 
> comments where
> possible (Asserts are used many places already)?
> Executable and verifiable examples could be a useful feature as plain text 
> documentation and
> examples have a tendency to rot.

There has been talk about getting Examples compiled as part of unit tests. 
Agreement on how to do that was not reached (Sometimes examples require a lot 
of setup code).

This example is probably old and in need of updating, file a bug report.

Reply via email to