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

Unified Diff: tests/compiler/dart2js/parser_helper.dart

Issue 1153953002: Some minor fixes caught by the bots, suppress a test that needs more investigation (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | « pkg/compiler/lib/src/scanner/token.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/parser_helper.dart
diff --git a/tests/compiler/dart2js/parser_helper.dart b/tests/compiler/dart2js/parser_helper.dart
index 1e5876817f75344b93dc200f37e02f225894a25a..acd2c030fc2f93c2cef68c6df84eac199fc77f5e 100644
--- a/tests/compiler/dart2js/parser_helper.dart
+++ b/tests/compiler/dart2js/parser_helper.dart
@@ -64,7 +64,9 @@ class LoggerCanceler implements DiagnosticListener {
withCurrentElement(Element element, f()) => f();
}
-Token scan(String text) => new StringScanner.fromString(text).tokenize();
+Token scan(String text) =>
+ new StringScanner.fromString(text, enableNullAwareOperators: true)
+ .tokenize();
Node parseBodyCode(String text, Function parseMethod,
{DiagnosticListener diagnosticHandler}) {
« no previous file with comments | « pkg/compiler/lib/src/scanner/token.dart ('k') | tests/compiler/dart2js_extra/dart2js_extra.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698