mirror of
https://github.com/dart-lang/sdk
synced 2024-09-16 00:09:49 +00:00
e1ece8fcbc
Change-Id: I5680d43fd7128ea3c8d95d86bf62bbb21f4273a9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/149489 Auto-Submit: Bob Nystrom <rnystrom@google.com> Commit-Queue: Erik Ernst <eernst@google.com> Reviewed-by: Erik Ernst <eernst@google.com>
85 lines
961 B
Dart
85 lines
961 B
Dart
// TODO(multitest): This was automatically migrated from a multitest and may
|
|
// contain strange or dead code.
|
|
|
|
// Copyright (c) 2013, 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';
|
|
import 'package:expect/expect.dart' as prefix; // Define 'prefix'.
|
|
|
|
checkIsUnresolved(var v) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
checkIsListUnresolved(var v) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
checkAsUnresolved(var v) {
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
checkAsListUnresolved(var v) {
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
void main() {
|
|
checkIsUnresolved('');
|
|
checkAsUnresolved('');
|
|
checkIsListUnresolved([]);
|
|
checkAsListUnresolved([]);
|
|
|
|
|
|
|
|
|
|
try {
|
|
throw 'foo';
|
|
}
|
|
|
|
catch (e) {
|
|
}
|
|
|
|
try {
|
|
throw 'foo';
|
|
}
|
|
|
|
catch (e) {
|
|
}
|
|
|
|
try {
|
|
throw 'foo';
|
|
}
|
|
|
|
catch (e) {
|
|
}
|
|
|
|
try {
|
|
throw 'foo';
|
|
}
|
|
|
|
catch (e) {
|
|
}
|
|
|
|
try {
|
|
throw 'foo';
|
|
}
|
|
|
|
catch (e) {
|
|
}
|
|
}
|