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

Unified Diff: tests/compiler/dart2js/serialization/model_test_helper.dart

Issue 2995353002: Test the CapturedScope for local functions (Closed)
Patch Set: Created 3 years, 4 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: tests/compiler/dart2js/serialization/model_test_helper.dart
diff --git a/tests/compiler/dart2js/serialization/model_test_helper.dart b/tests/compiler/dart2js/serialization/model_test_helper.dart
index 34b497cd7e46df6f24c9f17dbc5fa85fb0710611..b176593ca7f365f7adfc23d6ae22d47ff2f8c5f0 100644
--- a/tests/compiler/dart2js/serialization/model_test_helper.dart
+++ b/tests/compiler/dart2js/serialization/model_test_helper.dart
@@ -255,7 +255,7 @@ bool areCapturedVariablesEquivalent(FieldEntity a, FieldEntity b) {
bool areCapturedScopesEquivalent(CapturedScope a, CapturedScope b) {
if (a == b) return true;
if (a == null || b == null) return false;
- if (!areLocalsEquivalent(a.context, b.context)) {
+ if (!areLocalsEquivalent(a.box, b.box)) {
return false;
}
if (!areLocalsEquivalent(a.thisLocal, b.thisLocal)) {

Powered by Google App Engine
This is Rietveld 408576698