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

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

Issue 974703003: fix dummy setters -- grammar requires an identifier (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: 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
OLDNEW
1 var async; 1 var async;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 dart.copyProperties(exports, { 4 dart.copyProperties(exports, {
5 get _hasDocument() { 5 get _hasDocument() {
6 return dart.equals(typeof document, 'object'); 6 return dart.equals(typeof document, 'object');
7 } 7 }
8 }); 8 });
9 // Function _invokeErrorHandler: (Function, Object, StackTrace) → dynamic 9 // Function _invokeErrorHandler: (Function, Object, StackTrace) → dynamic
10 function _invokeErrorHandler(errorHandler, error, stackTrace) { 10 function _invokeErrorHandler(errorHandler, error, stackTrace) {
(...skipping 3746 matching lines...) Expand 10 before | Expand all | Expand 10 after
3757 sink._add(inputEvent); 3757 sink._add(inputEvent);
3758 this._previous = inputEvent; 3758 this._previous = inputEvent;
3759 } 3759 }
3760 } 3760 }
3761 } 3761 }
3762 } 3762 }
3763 dart.defineLazyProperties(_DistinctStream, { 3763 dart.defineLazyProperties(_DistinctStream, {
3764 get _SENTINEL() { 3764 get _SENTINEL() {
3765 return new core.Object(); 3765 return new core.Object();
3766 }, 3766 },
3767 set _SENTINEL() {} 3767 set _SENTINEL(_) {}
3768 }); 3768 });
3769 return _DistinctStream; 3769 return _DistinctStream;
3770 }); 3770 });
3771 let _DistinctStream = _DistinctStream$(dynamic); 3771 let _DistinctStream = _DistinctStream$(dynamic);
3772 let _EventSinkWrapper$ = dart.generic(function(T) { 3772 let _EventSinkWrapper$ = dart.generic(function(T) {
3773 class _EventSinkWrapper extends dart.Object { 3773 class _EventSinkWrapper extends dart.Object {
3774 _EventSinkWrapper(_sink) { 3774 _EventSinkWrapper(_sink) {
3775 this._sink = _sink; 3775 this._sink = _sink;
3776 } 3776 }
3777 add(data) { 3777 add(data) {
(...skipping 930 matching lines...) Expand 10 before | Expand all | Expand 10 after
4708 } 4708 }
4709 print(line) { 4709 print(line) {
4710 _internal.printToConsole(line); 4710 _internal.printToConsole(line);
4711 } 4711 }
4712 } 4712 }
4713 _RootZone._rootDelegate = null; 4713 _RootZone._rootDelegate = null;
4714 dart.defineLazyProperties(_RootZone, { 4714 dart.defineLazyProperties(_RootZone, {
4715 get _rootMap() { 4715 get _rootMap() {
4716 return new collection.HashMap(); 4716 return new collection.HashMap();
4717 }, 4717 },
4718 set _rootMap() {} 4718 set _rootMap(_) {}
4719 }); 4719 });
4720 let _ROOT_ZONE = new _RootZone(); 4720 let _ROOT_ZONE = new _RootZone();
4721 // Function runZoned: (() → dynamic, {zoneValues: Map<dynamic, dynamic>, zoneS pecification: ZoneSpecification, onError: Function}) → dynamic 4721 // Function runZoned: (() → dynamic, {zoneValues: Map<dynamic, dynamic>, zoneS pecification: ZoneSpecification, onError: Function}) → dynamic
4722 function runZoned(body, opt$) { 4722 function runZoned(body, opt$) {
4723 let zoneValues = opt$.zoneValues === void 0 ? null : opt$.zoneValues; 4723 let zoneValues = opt$.zoneValues === void 0 ? null : opt$.zoneValues;
4724 let zoneSpecification = opt$.zoneSpecification === void 0 ? null : opt$.zone Specification; 4724 let zoneSpecification = opt$.zoneSpecification === void 0 ? null : opt$.zone Specification;
4725 let onError = opt$.onError === void 0 ? null : opt$.onError; 4725 let onError = opt$.onError === void 0 ? null : opt$.onError;
4726 let errorHandler = null; 4726 let errorHandler = null;
4727 if (onError !== null) { 4727 if (onError !== null) {
4728 errorHandler = (self, parent, zone, error, stackTrace) => { 4728 errorHandler = (self, parent, zone, error, stackTrace) => {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
4781 exports.StreamIterator$ = StreamIterator$; 4781 exports.StreamIterator$ = StreamIterator$;
4782 exports.StreamController = StreamController; 4782 exports.StreamController = StreamController;
4783 exports.StreamController$ = StreamController$; 4783 exports.StreamController$ = StreamController$;
4784 exports.Timer = Timer; 4784 exports.Timer = Timer;
4785 exports.AsyncError = AsyncError; 4785 exports.AsyncError = AsyncError;
4786 exports.ZoneSpecification = ZoneSpecification; 4786 exports.ZoneSpecification = ZoneSpecification;
4787 exports.ZoneDelegate = ZoneDelegate; 4787 exports.ZoneDelegate = ZoneDelegate;
4788 exports.Zone = Zone; 4788 exports.Zone = Zone;
4789 exports.runZoned = runZoned; 4789 exports.runZoned = runZoned;
4790 })(async || (async = {})); 4790 })(async || (async = {}));
OLDNEW
« no previous file with comments | « test/codegen/expect/_native_typed_data/_native_typed_data.js ('k') | test/codegen/expect/convert/convert.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698