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

Side by Side Diff: test/codegen/expect/dart/_internal.js

Issue 997143003: Fix for conditional expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Add test case Created 5 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 unified diff | Download patch
« no previous file with comments | « test/checker/checker_test.dart ('k') | test/codegen/expect/dart/_native_typed_data.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 var _internal; 1 var _internal;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 let POWERS_OF_TEN = /* Unimplemented const */new List.from([1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, 10000000.0, 100000000.0, 1000000000.0, 100 00000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0 , 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 100000000000000 0000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22]); 4 let POWERS_OF_TEN = /* Unimplemented const */new List.from([1.0, 10.0, 100.0, 1000.0, 10000.0, 100000.0, 1000000.0, 10000000.0, 100000000.0, 1000000000.0, 100 00000000.0, 100000000000.0, 1000000000000.0, 10000000000000.0, 100000000000000.0 , 1000000000000000.0, 10000000000000000.0, 100000000000000000.0, 100000000000000 0000.0, 10000000000000000000.0, 100000000000000000000.0, 1e+21, 1e+22]);
5 class EfficientLength extends dart.Object { 5 class EfficientLength extends dart.Object {
6 } 6 }
7 let ListIterable$ = dart.generic(function(E) { 7 let ListIterable$ = dart.generic(function(E) {
8 class ListIterable extends collection.IterableBase$(E) { 8 class ListIterable extends collection.IterableBase$(E) {
9 ListIterable() { 9 ListIterable() {
10 super.IterableBase(); 10 super.IterableBase();
(...skipping 1352 matching lines...) Expand 10 before | Expand all | Expand 10 after
1363 return index; 1363 return index;
1364 } 1364 }
1365 } 1365 }
1366 let _values = Symbol('_values'); 1366 let _values = Symbol('_values');
1367 let ListMapView$ = dart.generic(function(E) { 1367 let ListMapView$ = dart.generic(function(E) {
1368 class ListMapView extends dart.Object { 1368 class ListMapView extends dart.Object {
1369 ListMapView($_values) { 1369 ListMapView($_values) {
1370 this[_values] = $_values; 1370 this[_values] = $_values;
1371 } 1371 }
1372 get(key) { 1372 get(key) {
1373 return dart.as(this.containsKey(key) ? this[_values].get(key) : null, E) ; 1373 return this.containsKey(key) ? this[_values].get(key) : null;
1374 } 1374 }
1375 get length() { 1375 get length() {
1376 return this[_values].length; 1376 return this[_values].length;
1377 } 1377 }
1378 get values() { 1378 get values() {
1379 return new SubListIterable(this[_values], 0, null); 1379 return new SubListIterable(this[_values], 0, null);
1380 } 1380 }
1381 get keys() { 1381 get keys() {
1382 return new _ListIndicesIterable(this[_values]); 1382 return new _ListIndicesIterable(this[_values]);
1383 } 1383 }
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
1884 exports.ReversedListIterable = ReversedListIterable; 1884 exports.ReversedListIterable = ReversedListIterable;
1885 exports.ReversedListIterable$ = ReversedListIterable$; 1885 exports.ReversedListIterable$ = ReversedListIterable$;
1886 exports.UnmodifiableListError = UnmodifiableListError; 1886 exports.UnmodifiableListError = UnmodifiableListError;
1887 exports.NonGrowableListError = NonGrowableListError; 1887 exports.NonGrowableListError = NonGrowableListError;
1888 exports.makeListFixedLength = makeListFixedLength; 1888 exports.makeListFixedLength = makeListFixedLength;
1889 exports.Lists = Lists; 1889 exports.Lists = Lists;
1890 exports.printToConsole = printToConsole; 1890 exports.printToConsole = printToConsole;
1891 exports.Sort = Sort; 1891 exports.Sort = Sort;
1892 exports.Symbol = Symbol; 1892 exports.Symbol = Symbol;
1893 })(_internal || (_internal = {})); 1893 })(_internal || (_internal = {}));
OLDNEW
« no previous file with comments | « test/checker/checker_test.dart ('k') | test/codegen/expect/dart/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698