Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Spec] throw/catch null #3076

Closed
DartBot opened this issue May 16, 2012 · 2 comments
Closed

[Spec] throw/catch null #3076

DartBot opened this issue May 16, 2012 · 2 comments
Assignees
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language).

Comments

@DartBot
Copy link

DartBot commented May 16, 2012

This issue was originally filed by rodion...@unipro.ru


Throwing a null value is no longer possible as it's converted to NPE at runtime, but section 11.9 of the spec (0.09) still says:
A catch clause of one of the forms ... matches an object o if o is null or if the type of o is a subtype of T1.

Can't figure a way how o could be null now.

@sethladd
Copy link
Contributor

Added Area-Language, Triaged labels.

@gbracha
Copy link
Contributor

gbracha commented May 16, 2012

Fixed in 0.10


Set owner to @gbracha.
Added Done label.

@DartBot DartBot added Type-Defect area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). labels May 16, 2012
copybara-service bot pushed a commit that referenced this issue Jul 12, 2022
…4 revisions)

https://dart.googlesource.com/dartdoc/+log/adc5a45ddafb..621c9192cc24

2022-07-12 srawlins@google.com Move annotation tests out of end-to-end test (#3078)
2022-07-11 srawlins@google.com Move test skip above test body (#3076)
2022-07-11 srawlins@google.com Remove ElementType.returnedFrom; was completely unused (#3077)
2022-07-09 srawlins@google.com Make Mixin.superclassConstraints late final non-nullable (#3075)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/dart-doc-dart-sdk
Please CC dart-ecosystem-gardener@grotations.appspotmail.com on the revert to ensure that a human
is aware of the problem.

To file a bug in Dart Documentation Generator: https://github.com/dart-lang/dartdoc/issues
To file a bug in Dart SDK: https://github.com/dart-lang/sdk/issues

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Tbr: dart-ecosystem-gardener@grotations.appspotmail.com
Change-Id: I82e92bf6c915969b2ba72de470939673f63b4de9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/251161
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
This issue was closed.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language).
Projects
None yet
Development

No branches or pull requests

4 participants