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

Unified Diff: packages/yaml/lib/src/scanner.dart

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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 | « packages/yaml/lib/src/parser.dart ('k') | packages/yaml/lib/src/style.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/yaml/lib/src/scanner.dart
diff --git a/yaml/lib/src/scanner.dart b/packages/yaml/lib/src/scanner.dart
similarity index 99%
rename from yaml/lib/src/scanner.dart
rename to packages/yaml/lib/src/scanner.dart
index 2e02a8f7de8097b36fa0d261a4f0454b1ac37f1b..0ac86dce85e8b03747c273fa0993d310585785ee 100644
--- a/yaml/lib/src/scanner.dart
+++ b/packages/yaml/lib/src/scanner.dart
@@ -443,7 +443,8 @@ class Scanner {
var token = _tokens.last;
if (token.type == TokenType.FLOW_SEQUENCE_END ||
token.type == TokenType.FLOW_MAPPING_END ||
- (token.type == TokenType.SCALAR && token.style.isQuoted)) {
+ (token.type == TokenType.SCALAR &&
+ (token as ScalarToken).style.isQuoted)) {
_fetchValue();
return;
}
« no previous file with comments | « packages/yaml/lib/src/parser.dart ('k') | packages/yaml/lib/src/style.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698