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

Unified Diff: utils/pub/yaml/parser.dart

Issue 10444016: Re-enable Yaml tests on dart2js and dartc. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 7 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 | utils/tests/pub/pub.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/yaml/parser.dart
diff --git a/utils/pub/yaml/parser.dart b/utils/pub/yaml/parser.dart
index f19ab7865a28699edf513a5be0edc4eba0cfcdf8..1753bd6647f148fad2a7e4b1db80c38b62111093 100644
--- a/utils/pub/yaml/parser.dart
+++ b/utils/pub/yaml/parser.dart
@@ -248,6 +248,7 @@ class _Parser {
if (!truth(el)) return out;
out.add(el);
}
+ return null; // unreachable
Bob Nystrom 2012/05/24 22:36:50 "Unreachable."
}
/**
@@ -266,6 +267,7 @@ class _Parser {
oldPos = pos;
out.add(el);
}
+ return null; // unreachable
}
/**
@@ -1838,6 +1840,7 @@ class _Parser {
var doc = l_explicitDocument();
if (doc != null) return doc;
parseFailed();
+ return null; // unreachable
}
// 210
« no previous file with comments | « no previous file | utils/tests/pub/pub.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698