blob: e8f31a7ebb9407dcb275142f1aa86dce63535cd2 [file] [edit]
library;
//
// Problems in library:
//
// pkg/front_end/testcases/coverage/missing_map_entry.dart:8:39: Error: Expected an identifier, but got ','.
// Try inserting an identifier before ','.
// <String, int>{"key1": 1, "key2" : 2,,"key3": 3};
// ^
//
import self as self;
import "dart:core" as core;
static method test() dynamic {
{
final core::Map<core::String, core::int> #t1 = <core::String, core::int>{};
#t1.{core::Map::[]=}{Invariant}("key1", 1){(core::String, core::int) → void};
#t1.{core::Map::[]=}{Invariant}("key2", 2){(core::String, core::int) → void};
invalid-expression "pkg/front_end/testcases/coverage/missing_map_entry.dart:8:39: Error: This couldn't be parsed.
<String, int>{\"key1\": 1, \"key2\" : 2,,\"key3\": 3};
^";
#t1.{core::Map::[]=}{Invariant}("key3", 3){(core::String, core::int) → void};
}
}