Fix patch location for isolate library

Change-Id: Ie1f0913eb61dfd77e73d483fd48f235c58ded523
Reviewed-on: https://dart-review.googlesource.com/30626
Reviewed-by: Emily Fortuna <efortuna@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
Sigmund Cherem 2017-12-20 00:15:43 +00:00 committed by commit-bot@chromium.org
parent dd1c61012a
commit b280922064
3 changed files with 3 additions and 5 deletions

View file

@ -127,9 +127,7 @@ abstract class NativeEnqueuerBase implements NativeEnqueuer {
_elementEnvironment.getThisType(type.element); _elementEnvironment.getThisType(type.element);
return _dartTypes.isSubtype(nativeType, specType); return _dartTypes.isSubtype(nativeType, specType);
})); }));
} else if (type.isDynamic || } else if (type.isDynamic) {
type.isFunctionTypeVariable ||
type is Dart1MethodTypeVariableType) {
matchingClasses.addAll(_unusedClasses); matchingClasses.addAll(_unusedClasses);
} else { } else {
assert(type is VoidType, '$type was ${type.runtimeType}'); assert(type is VoidType, '$type was ${type.runtimeType}');

View file

@ -217,7 +217,7 @@
"uri": "html/dart2js/html_dart2js.dart" "uri": "html/dart2js/html_dart2js.dart"
}, },
"isolate": { "isolate": {
"patches": "_internal/js_runtime/lib/io_patch.dart", "patches": "_internal/js_runtime/lib/isolate_patch.dart",
"uri": "isolate/isolate.dart" "uri": "isolate/isolate.dart"
}, },
"developer": { "developer": {

View file

@ -181,7 +181,7 @@ dart2js:
isolate: isolate:
uri: "isolate/isolate.dart" uri: "isolate/isolate.dart"
patches: "_internal/js_runtime/lib/io_patch.dart" patches: "_internal/js_runtime/lib/isolate_patch.dart"
js: js:
uri: "js/dart2js/js_dart2js.dart" uri: "js/dart2js/js_dart2js.dart"