Avoid crash on EOF error in file with Windows line encoding

+ start using spans from CFE (now that they're available)

Change-Id: I4fe82070d32948a64fb0fab527bd4cc857eebeb4
Reviewed-on: https://dart-review.googlesource.com/49841
Reviewed-by: Sigmund Cherem <sigmund@google.com>
This commit is contained in:
Johnni Winther
2018-04-09 12:16:20 +00:00
parent 8054409a02
commit 969c0de335
9 changed files with 43 additions and 74 deletions
+1
View File
@@ -14,6 +14,7 @@
*.yaml text
# Files that should not be converted.
tests/compiler/dart2js_extra/eof_line_ending_test.dart -text
tests/compiler/dart2js_extra/string_interpolation_test.dart -text
tests/compiler/dart2js_extra/string_interpolation_dynamic_test.dart -text
tests/compiler/dart2js_extra/literal_string_juxtaposition_test.dart -text