blob: 65433fd36bee9d523b84543e472e8c816ea43f7d [file] [log] [blame]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/coverage/literal_list_two_type_arguments.dart:7:21: Error: List literal requires exactly one type argument.
// var y = <int, int>[1, 2, 3]; // Error
// ^^^^^^^^^
//
import self as self;
import "dart:core" as core;
static method foo() void {
core::List<core::int> x = <core::int>[1, 2, 3];
core::List<invalid-type> y = <invalid-type>[1, 2, 3];
}