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

Unified Diff: runtime/observatory/bin/shell.dart

Issue 899303002: Fix dart warnings. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months 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
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/general_error.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/observatory/bin/shell.dart
diff --git a/runtime/observatory/bin/shell.dart b/runtime/observatory/bin/shell.dart
index 1a1f13c880894da79df568ded1d332d771025694..ae4e7ffb52e0c2b5aec470d92e8227175d79bb4f 100644
--- a/runtime/observatory/bin/shell.dart
+++ b/runtime/observatory/bin/shell.dart
@@ -22,8 +22,8 @@ void repl(VM vm, Isolate isolate, String lastResult) {
Map params = {
'objectId': stdin.readLineSync(),
};
- isolate.invokeRpc('getObject', params).then((String result) {
- repl(vm, prefix, result);
+ isolate.invokeRpcNoUpgrade('getObject', params).then((Map result) {
+ repl(vm, isolate, result.toString());
});
}
« no previous file with comments | « no previous file | runtime/observatory/lib/src/elements/general_error.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698