blob: 06992f92bfe223957a10f6aa8c91fc8d558b560d [file] [log] [blame]
// 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.
// @dart = 2.7
class Class {
Iterable<Class> next;
}
main() {
tryCatch1(null);
tryCatch2(null);
}
tryCatch1(dynamic c) {
if (/*dynamic*/ c is Class) {
/*Class*/ c.next;
try {
/*Class*/ c.next;
c = 0;
if (/*dynamic*/ c is Class) {
/*Class*/ c.next;
}
} catch (e) {
/*dynamic*/ c.next;
}
/*dynamic*/ c.next;
}
}
tryCatch2(dynamic c) {
if (/*dynamic*/ c is Class) {
/*Class*/ c.next;
try {
/*Class*/ c.next;
} catch (e) {
/*Class*/ c.next;
}
/*Class*/ c.next;
}
}