Files
sdk/tests/compiler/dart2js/sourcemaps/stacktrace/throw_in_constructor.dart
T
Stephen Adams 5ccc497678 Inline constructor bodies that are called once
Change-Id: I74b2518fed543a78f1531b54510f4dcbe3a57192
Reviewed-on: https://dart-review.googlesource.com/60324
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-06-20 22:12:02 +00:00

18 lines
425 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()
Class() {
/*3:Class*/ throw '>ExceptionMarker<';
}
}