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

Side by Side Diff: test/codegen/expect/domtest.js

Issue 1160343003: Revert "fixes #173, ability to use native JS indexers" (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « test/codegen/domtest.dart ('k') | test/codegen/expect/domtest.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 var domtest = dart.defineLibrary(domtest, {});
2 var dom = dart.import(dom);
3 var core = dart.import(core);
4 (function(exports, dom, core) {
5 'use strict';
6 // Function testNativeIndexers: () → dynamic
7 function testNativeIndexers() {
8 let nodes = dom.document.querySelector('body').childNodes;
9 for (let i = 0; dart.notNull(i) < dart.notNull(nodes.length); i = dart.notNu ll(i) + 1) {
10 core.print(nodes[i]);
11 core.print(nodes[i] = null);
12 }
13 }
14 // Exports:
15 exports.testNativeIndexers = testNativeIndexers;
16 })(domtest, dom, core);
OLDNEW
« no previous file with comments | « test/codegen/domtest.dart ('k') | test/codegen/expect/domtest.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698