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

Unified Diff: samples/build_dart_simple/build.dart

Issue 14259002: Fix dartc tests and pub after IOSink change. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: samples/build_dart_simple/build.dart
diff --git a/samples/build_dart_simple/build.dart b/samples/build_dart_simple/build.dart
index e155531cd52a911b8b3782dc3df632556ff77b4c..7dc0bcbfa36f93f00ae4660ce67e3193257c9660 100644
--- a/samples/build_dart_simple/build.dart
+++ b/samples/build_dart_simple/build.dart
@@ -27,7 +27,7 @@ void _processFile(String file) {
String contents = new File(file).readAsStringSync();
if (contents != null) {
- IOSink<File> out = new File("${file}bar").openWrite();
+ IOSink out = new File("${file}bar").openWrite();
out.write("// processed from ${file}:\n${contents}");
out.close();
}
« no previous file with comments | « samples/build_dart/build.dart ('k') | utils/pub/io.dart » ('j') | utils/pub/io.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698