2d5265f59d
In most cases I provided the type that appeared in the return statements. For a few test files I explicitly typed the return types as dynamic because it caused diffs in the expected break point locations when adding more explicit types and it wasn't totally clear what the new locations should be. Change-Id: Ifdd80edcccc5fc4a2083ecdbb0e5fbf1c4453e01 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/133339 Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
17 lines
399 B
Dart
17 lines
399 B
Dart
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
void main() {
|
|
/*1:main*/ test();
|
|
}
|
|
|
|
void test() {
|
|
try {
|
|
/*2:test*/ throw '>ExceptionMarker<';
|
|
// ignore: UNUSED_CATCH_CLAUSE
|
|
} on String catch (e) {
|
|
rethrow;
|
|
}
|
|
}
|