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

Unified Diff: pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart

Issue 2943103002: Fix bot failure because of missed update of AssertStatement (Closed)
Patch Set: Created 3 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
diff --git a/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart b/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
index 9a26298d911b3e550774a292bbde0ead98e49658..492bb6fc0fde62ac2457972fd51e5c56259d155c 100644
--- a/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
+++ b/pkg/analyzer/lib/src/kernel/ast_from_analyzer.dart
@@ -999,7 +999,7 @@ class StatementBuilder extends GeneralizingAstVisitor<ast.Statement> {
ast.Statement visitAssertStatement(AssertStatement node) {
return new ast.AssertStatement(scope.buildExpression(node.condition),
- scope.buildOptionalExpression(node.message));
+ message: scope.buildOptionalExpression(node.message));
}
ast.Statement visitBlock(Block node) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698