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

Side by Side Diff: test/codegen/expect/collection/src/unmodifiable_wrappers.js

Issue 1486473002: Convert dart_utils.js to input_sdk/lib/_internal/utils.dart (#310) (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Rebased Created 5 years 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/browser/runtime_tests.js ('k') | test/codegen/expect/collection/wrappers.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 dart_library.library('collection/src/unmodifiable_wrappers', null, /* Imports */ [ 1 dart_library.library('collection/src/unmodifiable_wrappers', null, /* Imports */ [
2 "dart/_runtime", 2 "dart/_runtime",
3 'dart/collection', 3 'dart/collection',
4 'dart/core' 4 'dart/core'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 'collection/wrappers' 6 'collection/wrappers'
7 ], function(exports, dart, collection, core, wrappers) { 7 ], function(exports, dart, collection, core, wrappers) {
8 'use strict'; 8 'use strict';
9 let dartx = dart.dartx; 9 let dartx = dart.dartx;
10 dart.export(exports, collection, ['UnmodifiableListView', 'UnmodifiableMapView '], []); 10 dart.export_(exports, collection, ['UnmodifiableListView', 'UnmodifiableMapVie w'], []);
11 const NonGrowableListMixin$ = dart.generic(function(E) { 11 const NonGrowableListMixin$ = dart.generic(function(E) {
12 class NonGrowableListMixin extends core.Object { 12 class NonGrowableListMixin extends core.Object {
13 static _throw() { 13 static _throw() {
14 dart.throw(new core.UnsupportedError("Cannot change the length of a fixe d-length list")); 14 dart.throw(new core.UnsupportedError("Cannot change the length of a fixe d-length list"));
15 } 15 }
16 set length(newLength) { 16 set length(newLength) {
17 return NonGrowableListMixin$()._throw(); 17 return NonGrowableListMixin$()._throw();
18 } 18 }
19 add(value) { 19 add(value) {
20 dart.as(value, E); 20 dart.as(value, E);
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 // Exports: 220 // Exports:
221 exports.NonGrowableListMixin$ = NonGrowableListMixin$; 221 exports.NonGrowableListMixin$ = NonGrowableListMixin$;
222 exports.NonGrowableListMixin = NonGrowableListMixin; 222 exports.NonGrowableListMixin = NonGrowableListMixin;
223 exports.NonGrowableListView$ = NonGrowableListView$; 223 exports.NonGrowableListView$ = NonGrowableListView$;
224 exports.UnmodifiableSetMixin$ = UnmodifiableSetMixin$; 224 exports.UnmodifiableSetMixin$ = UnmodifiableSetMixin$;
225 exports.UnmodifiableSetMixin = UnmodifiableSetMixin; 225 exports.UnmodifiableSetMixin = UnmodifiableSetMixin;
226 exports.UnmodifiableSetView$ = UnmodifiableSetView$; 226 exports.UnmodifiableSetView$ = UnmodifiableSetView$;
227 exports.UnmodifiableMapMixin$ = UnmodifiableMapMixin$; 227 exports.UnmodifiableMapMixin$ = UnmodifiableMapMixin$;
228 exports.UnmodifiableMapMixin = UnmodifiableMapMixin; 228 exports.UnmodifiableMapMixin = UnmodifiableMapMixin;
229 }); 229 });
OLDNEW
« no previous file with comments | « test/browser/runtime_tests.js ('k') | test/codegen/expect/collection/wrappers.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698