| Index: compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| diff --git a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| index c8185f1675e0f95fa4756cb04110eedc844268c4..ebe090119741f2ef77dc90309e3fa47635b44eb5 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java
|
| @@ -1709,7 +1709,7 @@ public class TypeAnalyzer implements DartCompilationPhase {
|
|
|
| // The Map literal has an implicit key type of String, so only one parameter is
|
| // specified <V> where V is the type of the value.
|
| - checkAssignable(node, type, defaultLiteralMapType);
|
| + checkAssignable(node, defaultLiteralMapType, type);
|
|
|
| // Check the map literal entries against the return type.
|
| Type valueType = type.getArguments().get(1);
|
|
|