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

Unified Diff: lib/runtime/dart/_interceptors.js

Issue 1316723003: implement null aware ops, fixes #249 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 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
« no previous file with comments | « lib/runtime/_operations.js ('k') | lib/runtime/dart/_internal.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/runtime/dart/_interceptors.js
diff --git a/lib/runtime/dart/_interceptors.js b/lib/runtime/dart/_interceptors.js
index bfd65840cca1ffb0df62a081b00f64b8a5d38977..17110a9479ab79654f75abc228af994e95746d02 100644
--- a/lib/runtime/dart/_interceptors.js
+++ b/lib/runtime/dart/_interceptors.js
@@ -386,6 +386,7 @@ dart_library.library('dart/_interceptors', null, /* Imports */[
if (dart.notNull(index) >= dart.notNull(this[dartx.length]) || dart.notNull(index) < 0)
dart.throw(new core.RangeError.value(index));
this[index] = value;
+ return value;
}
[dartx.asMap]() {
return new (_internal.IterableMixinWorkaround$(E))().asMapList(this);
« no previous file with comments | « lib/runtime/_operations.js ('k') | lib/runtime/dart/_internal.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698