mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
73ee6d53a0
This implements this part of the language spec (section 17.10): > If v is an instance of class Error or a subclass thereof, and it is > the first time that Error object is thrown, the stack trace t is > stored on v so that it will be returned by the stackTrace getter > inherited from Error. New passing tests: - co19/Language/Expressions/Throw/stack_trace_t01 - co19/LibTest/core/Error/stackTrace_A01_t01 - co19/LibTest/core/IndexError/stackTrace_A01_t01 - corelib/error_stack_trace_test/none - corelib/error_stack_trace_test/nullThrown - language/stack_trace/error_runtime_test Fixes #50608 Change-Id: I1d7df2337cce1be3ecbab0180def5769b8fe3e68 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279966 Reviewed-by: Aske Simon Christensen <askesc@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |