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

Side by Side Diff: test/codegen_expected/language/function_syntax_test_none_multi.js

Issue 2211293002: Reify type params on map literals (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Suppress empty arg with dynamic params Created 4 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 unified diff | Download patch
OLDNEW
1 dart_library.library('language/function_syntax_test_none_multi', null, /* Import s */[ 1 dart_library.library('language/function_syntax_test_none_multi', null, /* Import s */[
2 'dart_sdk', 2 'dart_sdk',
3 'expect' 3 'expect'
4 ], function load__function_syntax_test_none_multi(exports, dart_sdk, expect) { 4 ], function load__function_syntax_test_none_multi(exports, dart_sdk, expect) {
5 'use strict'; 5 'use strict';
6 const core = dart_sdk.core; 6 const core = dart_sdk.core;
7 const _interceptors = dart_sdk._interceptors; 7 const _interceptors = dart_sdk._interceptors;
8 const dart = dart_sdk.dart; 8 const dart = dart_sdk.dart;
9 const dartx = dart_sdk.dartx; 9 const dartx = dart_sdk.dartx;
10 const expect$ = expect.expect; 10 const expect$ = expect.expect;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 ca1() { 333 ca1() {
334 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 45, VoidToi nt$())); 334 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 45, VoidToi nt$()));
335 } 335 }
336 cb2() { 336 cb2() {
337 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 46, VoidToint$())])[dartx .get](0); 337 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 46, VoidToint$())])[dartx .get](0);
338 } 338 }
339 ca2() { 339 ca2() {
340 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 47, VoidToint$())])[dartx .get](0); 340 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 47, VoidToint$())])[dartx .get](0);
341 } 341 }
342 cb3() { 342 cb3() {
343 this.fn = dart.map({x: dart.fn(() => 48, VoidToint$())})[dartx.get]('x'); 343 this.fn = dart.map({x: dart.fn(() => 48, VoidToint$())}, core.String, Void Toint())[dartx.get]('x');
344 } 344 }
345 ca3() { 345 ca3() {
346 this.fn = dart.map({x: dart.fn(() => 49, VoidToint$())})[dartx.get]('x'); 346 this.fn = dart.map({x: dart.fn(() => 49, VoidToint$())}, core.String, Void Toint())[dartx.get]('x');
347 } 347 }
348 nb0() { 348 nb0() {
349 this.fn = dart.fn(() => 52, VoidToint$()); 349 this.fn = dart.fn(() => 52, VoidToint$());
350 } 350 }
351 na0() { 351 na0() {
352 this.fn = dart.fn(() => 53, VoidToint$()); 352 this.fn = dart.fn(() => 53, VoidToint$());
353 } 353 }
354 nb1() { 354 nb1() {
355 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 54, VoidToi nt$())); 355 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 54, VoidToi nt$()));
356 } 356 }
357 na1() { 357 na1() {
358 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 55, VoidToi nt$())); 358 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 55, VoidToi nt$()));
359 } 359 }
360 nb2() { 360 nb2() {
361 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 56, VoidToint$())])[dartx .get](0); 361 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 56, VoidToint$())])[dartx .get](0);
362 } 362 }
363 na2() { 363 na2() {
364 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 57, VoidToint$())])[dartx .get](0); 364 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 57, VoidToint$())])[dartx .get](0);
365 } 365 }
366 nb3() { 366 nb3() {
367 this.fn = dart.map({x: dart.fn(() => 58, VoidToint$())})[dartx.get]('x'); 367 this.fn = dart.map({x: dart.fn(() => 58, VoidToint$())}, core.String, Void Toint())[dartx.get]('x');
368 } 368 }
369 na3() { 369 na3() {
370 this.fn = dart.map({x: dart.fn(() => 59, VoidToint$())})[dartx.get]('x'); 370 this.fn = dart.map({x: dart.fn(() => 59, VoidToint$())}, core.String, Void Toint())[dartx.get]('x');
371 } 371 }
372 rb0() { 372 rb0() {
373 this.fn = dart.fn(() => 62, VoidToint$()); 373 this.fn = dart.fn(() => 62, VoidToint$());
374 } 374 }
375 ra0() { 375 ra0() {
376 this.fn = dart.fn(() => 63, VoidToint$()); 376 this.fn = dart.fn(() => 63, VoidToint$());
377 } 377 }
378 rb1() { 378 rb1() {
379 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 64, VoidToi nt$())); 379 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 64, VoidToi nt$()));
380 } 380 }
381 ra1() { 381 ra1() {
382 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 65, VoidToi nt$())); 382 this.fn = function_syntax_test_none_multi.C.wrap(dart.fn(() => 65, VoidToi nt$()));
383 } 383 }
384 rb2() { 384 rb2() {
385 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 66, VoidToint$())])[dartx .get](0); 385 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 66, VoidToint$())])[dartx .get](0);
386 } 386 }
387 ra2() { 387 ra2() {
388 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 67, VoidToint$())])[dartx .get](0); 388 this.fn = JSArrayOfVoidToint().of([dart.fn(() => 67, VoidToint$())])[dartx .get](0);
389 } 389 }
390 rb3() { 390 rb3() {
391 this.fn = dart.map({x: dart.fn(() => 68, VoidToint$())})[dartx.get]('x'); 391 this.fn = dart.map({x: dart.fn(() => 68, VoidToint$())}, core.String, Void Toint())[dartx.get]('x');
392 } 392 }
393 ra3() { 393 ra3() {
394 this.fn = dart.map({x: dart.fn(() => 69, VoidToint$())})[dartx.get]('x'); 394 this.fn = dart.map({x: dart.fn(() => 69, VoidToint$())}, core.String, Void Toint())[dartx.get]('x');
395 } 395 }
396 static wrap(fn) { 396 static wrap(fn) {
397 return fn; 397 return fn;
398 } 398 }
399 }; 399 };
400 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'cb0'); 400 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'cb0');
401 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'ca0'); 401 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'ca0');
402 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'cb1'); 402 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'cb1');
403 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'ca1'); 403 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'ca1');
404 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'cb2'); 404 dart.defineNamedConstructor(function_syntax_test_none_multi.C, 'cb2');
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 statics: () => ({wrap: dart.definiteFunctionType(dart.dynamic, [dart.dynamic ])}), 451 statics: () => ({wrap: dart.definiteFunctionType(dart.dynamic, [dart.dynamic ])}),
452 names: ['wrap'] 452 names: ['wrap']
453 }); 453 });
454 function_syntax_test_none_multi.main = function() { 454 function_syntax_test_none_multi.main = function() {
455 function_syntax_test_none_multi.FunctionSyntaxTest.testMain(); 455 function_syntax_test_none_multi.FunctionSyntaxTest.testMain();
456 }; 456 };
457 dart.fn(function_syntax_test_none_multi.main, VoidTodynamic$()); 457 dart.fn(function_syntax_test_none_multi.main, VoidTodynamic$());
458 // Exports: 458 // Exports:
459 exports.function_syntax_test_none_multi = function_syntax_test_none_multi; 459 exports.function_syntax_test_none_multi = function_syntax_test_none_multi;
460 }); 460 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698