blob: fa8d54feed2948174e419b36790749e9a01ca822 [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
import 'package:expect/expect.dart';
/*spec.class: global#JSArray:checkedInstance,checks=[$isIterable,$isList],instance*/
/*prod.class: global#JSArray:checks=[$isList],instance*/
method<T>() {
return /*checks=[],instance*/ () => <T>[];
test(o) => o is List<int>;
main() {