blob: c2d3ee3155f71c2dcbc4bd4f65361e8c6343472c [file] [log] [blame]
// Copyright (c) 2016, 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.
/// @assertion StackTrace stackTrace
/// @description Checks that this property is not null if error is thrown
/// @author
/// @issue 42896
/// @issue 41763
import "../../../Utils/expect.dart";
main() {
Error e = new Error();
try {
throw e;
} on Error catch (er) {