Files
sdk/tests/compiler/dart2js/sourcemaps/stacktrace/sync_throw_in_async.dart
T
Stephen Adams 2c8c05f877 [dart2js] merge generator body into empty entry function
Change-Id: I99a5f16f9a22d3c3cbb4989151a8d3c7bfda16ef
Reviewed-on: https://dart-review.googlesource.com/56037
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-05-22 21:17:44 +00:00

16 lines
425 B
Dart

// Copyright (c) 2018, 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.
import 'package:expect/expect.dart';
main() {
// This call is on the stack when the error is thrown.
/*1:main*/ test();
}
@NoInline()
test() async /*2:test*/ {
/*4:test*/ throw '>ExceptionMarker<';
}