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

Unified Diff: samples/newissues/newissues.dart

Issue 11312237: Dynamic -> dynamic. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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
« no previous file with comments | « samples/chat/chat_server_lib.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/core_patch.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/newissues/newissues.dart
diff --git a/samples/newissues/newissues.dart b/samples/newissues/newissues.dart
index cd4afbcc187e43780a16d9b344812c9c29569071..22a5a03e78720d712fa2189d6572b5529b97f72c 100644
--- a/samples/newissues/newissues.dart
+++ b/samples/newissues/newissues.dart
@@ -35,8 +35,8 @@ void processJson(json) {
}
/// Sends a HTTPRequest and returns a future fo the date.
-Future<Dynamic> requestJson(String url) {
- Completer c = new Completer<Dynamic>();
+Future<dynamic> requestJson(String url) {
+ Completer c = new Completer<dynamic>();
void callback(HttpRequest req) {
if (req.readyState == HttpRequest.DONE) {
c.complete(JSON.parse(req.response));
« no previous file with comments | « samples/chat/chat_server_lib.dart ('k') | sdk/lib/_internal/compiler/implementation/lib/core_patch.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698