Closed
Description
This issue was originally filed by ppater...@gmail.com
The following class will not work in dartdoc - it crashes with the attached traceback (Unhandled exception: expected an expression, but got 'throw')
// Will not work with dartdoc
class FixedSize {
increase() => throw new FixedSizeError('Cannot increase a fixed size');
}
This does work
// Will work with dartdoc
class FixedSize {
increase() {
throw new FixedSizeError('Cannot increase a fixed size');
}
}
Attachment:
traceback.txt (4.45 KB)