| Index: pkg/analyzer_experimental/lib/src/generated/java_core.dart
|
| diff --git a/pkg/analyzer_experimental/lib/src/generated/java_core.dart b/pkg/analyzer_experimental/lib/src/generated/java_core.dart
|
| index 769fdf15ded20a58372e6049da944500be6de52e..d13bb3d72e1bf7812215b9c4cbbb41812e9b2057 100644
|
| --- a/pkg/analyzer_experimental/lib/src/generated/java_core.dart
|
| +++ b/pkg/analyzer_experimental/lib/src/generated/java_core.dart
|
| @@ -31,10 +31,13 @@ bool isInstanceOf(o, Type t) {
|
| if (oTypeName == tTypeName) {
|
| return true;
|
| }
|
| - if (oTypeName.startsWith("List") && tTypeName == "List") {
|
| + if (oTypeName.startsWith("HashMap") && tTypeName == "Map") {
|
| + return true;
|
| + }
|
| + if (oTypeName.startsWith("LinkedHashMap") && tTypeName == "Map") {
|
| return true;
|
| }
|
| - if (tTypeName == "Map" && o is Map) {
|
| + if (oTypeName.startsWith("List") && tTypeName == "List") {
|
| return true;
|
| }
|
| // Dart Analysis Engine specific
|
|
|