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

Unified Diff: pkg/kernel/lib/frontend/accessors.dart

Issue 2767773004: Add Vector type to Kernel (Closed)
Patch Set: Add a note to return Run step in Closure Conversion test suite Created 3 years, 9 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/kernel/lib/frontend/accessors.dart
diff --git a/pkg/kernel/lib/frontend/accessors.dart b/pkg/kernel/lib/frontend/accessors.dart
index 66822127d7b9aab5eb696780e7b4f98d125e8748..8a59c4cca622205e4b4025b33e472dcd53e0874c 100644
--- a/pkg/kernel/lib/frontend/accessors.dart
+++ b/pkg/kernel/lib/frontend/accessors.dart
@@ -255,6 +255,8 @@ class IndexAccessor extends Accessor {
new Arguments(<Expression>[indexAccess(), value]), setter);
}
+ // TODO(dmitryas): remove this method after the "[]=" operator of the Context
+ // class is made to return a value.
_makeWriteAndReturn(Expression value) {
// The call to []= does not return the value like direct-style assignments
// do. We need to bind the value in a let.

Powered by Google App Engine
This is Rietveld 408576698