Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(568)

Unified Diff: sdk/lib/_internal/pub/lib/src/dart.dart

Issue 89493002: Fix some static warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub/lib/src/dart.dart
diff --git a/sdk/lib/_internal/pub/lib/src/dart.dart b/sdk/lib/_internal/pub/lib/src/dart.dart
index 7e1fe28b23b20bff770e2a8d7751b6e766294471..7c5e0fa913142f9c33fa6bd320010b9f8fd539bd 100644
--- a/sdk/lib/_internal/pub/lib/src/dart.dart
+++ b/sdk/lib/_internal/pub/lib/src/dart.dart
@@ -107,7 +107,7 @@ Future runInIsolate(String code, message) {
'uri': path.toUri(dartPath).toString(),
'message': message
}).then((_) => port.first).then((response) {
- if (response['type'] == 'success') return;
+ if (response['type'] == 'success') return null;
assert(response['type'] == 'error');
return new Future.error(
new CrossIsolateException.deserialize(response['error']));

Powered by Google App Engine
This is Rietveld 408576698