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

Unified Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 1388783003: Spec change: include covering expressions into Extract Local protocol. (Closed) Base URL: git@github.com:dart-lang/sdk.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
Index: pkg/analysis_server/test/integration/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index f69037d691cb8838daa9af2bb16d1b5202d0d946..db2f51146078e5abf077a36c1eb125cb7801e048 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -2239,6 +2239,8 @@ final Matcher isConvertMethodToGetterOptions = isNull;
* extractLocalVariable feedback
*
* {
+ * "coveringExpressionOffsets": List<int>
+ * "coveringExpressionLengths": List<int>
* "names": List<String>
* "offsets": List<int>
* "lengths": List<int>
@@ -2246,6 +2248,8 @@ final Matcher isConvertMethodToGetterOptions = isNull;
*/
final Matcher isExtractLocalVariableFeedback = new LazyMatcher(() => new MatchesJsonObject(
"extractLocalVariable feedback", {
+ "coveringExpressionOffsets": isListOf(isInt),
+ "coveringExpressionLengths": isListOf(isInt),
"names": isListOf(isString),
"offsets": isListOf(isInt),
"lengths": isListOf(isInt)

Powered by Google App Engine
This is Rietveld 408576698