We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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)
The text was updated successfully, but these errors were encountered:
Set owner to amouravski@google.com. Added Area-DartDoc, Triaged labels.
Sorry, something went wrong.
This comment was originally written by amouravski@google.com
Late dart2js error.
Set owner to @johnniwinther. Removed Area-DartDoc label. Added Area-Dart2JS, Accepted labels.
This is caused by throw as expressions not currently being implemented.
Added Duplicate label. Marked as being merged into #4874.
johnniwinther
No branches or pull requests
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)
The text was updated successfully, but these errors were encountered: