// Copyright (c) 2017, 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. | |
/*@testedFeatures=inference*/ | |
library test; | |
var a = <int, String>{0: 'aaa', 1: 'bbb'}; | |
var b = <double, int>{1.1: 1, 2.2: 2}; | |
var c = <List<int>, Map<String, double>>{}; | |
var d = <int, dynamic>{}; | |
var e = <dynamic, int>{}; | |
var f = <dynamic, dynamic>{}; | |
main() { | |
a; | |
b; | |
c; | |
d; | |
e; | |
f; | |
} |