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

Unified Diff: test/regression/other/analysis_server.unit

Issue 1355203002: Handle index expressions in the middle of call chains. (Closed) Base URL: https://github.com/dart-lang/dart_style.git@master
Patch Set: Handle chained indexes. Created 5 years, 3 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 | « lib/src/source_visitor.dart ('k') | test/splitting/invocations.stmt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/regression/other/analysis_server.unit
diff --git a/test/regression/other/analysis_server.unit b/test/regression/other/analysis_server.unit
index 9e662a71f7955ae0c2f74ff4d5708b930e725513..0c03cfac17565f9c52ca809358de2e1b8604b967 100644
--- a/test/regression/other/analysis_server.unit
+++ b/test/regression/other/analysis_server.unit
@@ -246,4 +246,16 @@ final ListResultDescriptor<AnalysisError> HINTS =
build(body);
return irBuilder.makeConstructorDefinition(const [], const []);
});
- }
+ }
+>>> (indent 4)
+ Element expectedElement = (declarations[0] as TopLevelVariableDeclaration)
+ .variables
+ .variables[0]
+ .name
+ .staticElement;
+<<<
+ Element expectedElement = (declarations[0] as TopLevelVariableDeclaration)
+ .variables
+ .variables[0]
+ .name
+ .staticElement;
« no previous file with comments | « lib/src/source_visitor.dart ('k') | test/splitting/invocations.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698