Files
sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_constructor.dart
T
Johnni Winther d578cdb6a0 Test stacktrace sourcemaps for kernel.
Change-Id: Ic2bf02ec8aaff9a1c2495768a9bf1b8362acccca
Reviewed-on: https://dart-review.googlesource.com/21802
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2017-11-20 09:17:20 +00:00

18 lines
437 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.
import 'package:expect/expect.dart';
main() {
// ignore: UNUSED_LOCAL_VARIABLE
var c = new /*1:main*/ Class();
}
class Class {
@NoInline()
/*2:Class*/ Class() {
/*3:Class*/ throw '>ExceptionMarker<';
}
}