Chromium Code Reviews
DescriptionFix type of JavaException.cause.
Not all thrown objects in Dart derive from `Exception`; in particular,
errors such as NoSuchMethodError derive from `Error`, which is unrelated
to `Exception`. So in order for `JavaException` to work with both, its
`cause` field must have type `Object`.
R=brianwilkerson@google.com
Committed: https://github.com/dart-lang/sdk/commit/ff180530ad7a0f68bbb56a7a1b132584f094ced8
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||