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

Side by Side Diff: test/codegen/expect/collection/priority_queue.js

Issue 1636233002: fixes #427, static fields emitted outside the scope of their class (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 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
OLDNEW
1 dart_library.library('collection/priority_queue', null, /* Imports */[ 1 dart_library.library('collection/priority_queue', null, /* Imports */[
2 'dart/_runtime', 2 'dart/_runtime',
3 'dart/core', 3 'dart/core',
4 'dart/collection' 4 'dart/collection'
5 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
6 ], function(exports, dart, core, collection) { 6 ], function(exports, dart, core, collection) {
7 'use strict'; 7 'use strict';
8 let dartx = dart.dartx; 8 let dartx = dart.dartx;
9 const PriorityQueue$ = dart.generic(function(E) { 9 const PriorityQueue$ = dart.generic(function(E) {
10 class PriorityQueue extends core.Object {} 10 class PriorityQueue extends core.Object {}
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 toList: [core.List$(E), []], 217 toList: [core.List$(E), []],
218 toSet: [core.Set$(E), []], 218 toSet: [core.Set$(E), []],
219 [_add]: [dart.void, [E]], 219 [_add]: [dart.void, [E]],
220 [_locate]: [core.int, [E]], 220 [_locate]: [core.int, [E]],
221 [_removeLast]: [E, []], 221 [_removeLast]: [E, []],
222 [_bubbleUp]: [dart.void, [E, core.int]], 222 [_bubbleUp]: [dart.void, [E, core.int]],
223 [_bubbleDown]: [dart.void, [E, core.int]], 223 [_bubbleDown]: [dart.void, [E, core.int]],
224 [_grow]: [dart.void, []] 224 [_grow]: [dart.void, []]
225 }) 225 })
226 }); 226 });
227 HeapPriorityQueue._INITIAL_CAPACITY = 7;
227 return HeapPriorityQueue; 228 return HeapPriorityQueue;
228 }); 229 });
229 let HeapPriorityQueue = HeapPriorityQueue$(); 230 let HeapPriorityQueue = HeapPriorityQueue$();
230 HeapPriorityQueue._INITIAL_CAPACITY = 7;
231 const __CastType0$ = dart.generic(function(E) { 231 const __CastType0$ = dart.generic(function(E) {
232 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core .int, [E, E])); 232 const __CastType0 = dart.typedef('__CastType0', () => dart.functionType(core .int, [E, E]));
233 return __CastType0; 233 return __CastType0;
234 }); 234 });
235 let __CastType0 = __CastType0$(); 235 let __CastType0 = __CastType0$();
236 // Exports: 236 // Exports:
237 exports.PriorityQueue$ = PriorityQueue$; 237 exports.PriorityQueue$ = PriorityQueue$;
238 exports.PriorityQueue = PriorityQueue; 238 exports.PriorityQueue = PriorityQueue;
239 exports.HeapPriorityQueue$ = HeapPriorityQueue$; 239 exports.HeapPriorityQueue$ = HeapPriorityQueue$;
240 exports.HeapPriorityQueue = HeapPriorityQueue; 240 exports.HeapPriorityQueue = HeapPriorityQueue;
241 }); 241 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698