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

Side by Side Diff: lib/runtime/dart/core.js

Issue 1038213003: Downward inference (Closed) Base URL: git@github.com:dart-lang/dart-dev-compiler.git@master
Patch Set: Rebase Created 5 years, 8 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 | « lib/runtime/dart/async.js ('k') | lib/src/checker/rules.dart » ('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 core; 1 var core;
2 (function(exports) { 2 (function(exports) {
3 'use strict'; 3 'use strict';
4 class Object { 4 class Object {
5 constructor() { 5 constructor() {
6 var name = this.constructor.name; 6 var name = this.constructor.name;
7 var init = this[name]; 7 var init = this[name];
8 var result = void 0; 8 var result = void 0;
9 if (init) 9 if (init)
10 result = init.apply(this, arguments); 10 result = init.apply(this, arguments);
(...skipping 2162 matching lines...) Expand 10 before | Expand all | Expand 10 after
2173 if (fragment != null) { 2173 if (fragment != null) {
2174 fragment = Uri[_makeFragment](fragment, 0, fragment.length); 2174 fragment = Uri[_makeFragment](fragment, 0, fragment.length);
2175 } else if (this.hasFragment) { 2175 } else if (this.hasFragment) {
2176 fragment = this.fragment; 2176 fragment = this.fragment;
2177 } 2177 }
2178 return new Uri[_internal$](scheme, userInfo, host, port, path, query, frag ment); 2178 return new Uri[_internal$](scheme, userInfo, host, port, path, query, frag ment);
2179 } 2179 }
2180 get pathSegments() { 2180 get pathSegments() {
2181 if (this[_pathSegments] == null) { 2181 if (this[_pathSegments] == null) {
2182 let pathToSplit = !dart.notNull(this.path.isEmpty) && this.path.codeUnit At(0) == Uri[_SLASH] ? this.path.substring(1) : this.path; 2182 let pathToSplit = !dart.notNull(this.path.isEmpty) && this.path.codeUnit At(0) == Uri[_SLASH] ? this.path.substring(1) : this.path;
2183 this[_pathSegments] = dart.as(new collection.UnmodifiableListView(pathTo Split == "" ? /* Unimplemented const */new List$(String).from([]) : pathToSplit. split("/").map(Uri.decodeComponent).toList({growable: false})), List$(String)); 2183 this[_pathSegments] = new collection.UnmodifiableListView(pathToSplit == "" ? /* Unimplemented const */new List$(String).from([]) : pathToSplit.split("/ ").map(Uri.decodeComponent).toList({growable: false}));
2184 } 2184 }
2185 return this[_pathSegments]; 2185 return this[_pathSegments];
2186 } 2186 }
2187 get queryParameters() { 2187 get queryParameters() {
2188 if (this[_queryParameters] == null) { 2188 if (this[_queryParameters] == null) {
2189 this[_queryParameters] = dart.as(new collection.UnmodifiableMapView(Uri. splitQueryString(this.query)), Map$(String, String)); 2189 this[_queryParameters] = dart.as(new collection.UnmodifiableMapView(Uri. splitQueryString(this.query)), Map$(String, String));
2190 } 2190 }
2191 return this[_queryParameters]; 2191 return this[_queryParameters];
2192 } 2192 }
2193 static [_makePort](port, scheme) { 2193 static [_makePort](port, scheme) {
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
3089 exports.StackTrace = StackTrace; 3089 exports.StackTrace = StackTrace;
3090 exports.Stopwatch = Stopwatch; 3090 exports.Stopwatch = Stopwatch;
3091 exports.String = String; 3091 exports.String = String;
3092 exports.RuneIterator = RuneIterator; 3092 exports.RuneIterator = RuneIterator;
3093 exports.StringBuffer = StringBuffer; 3093 exports.StringBuffer = StringBuffer;
3094 exports.StringSink = StringSink; 3094 exports.StringSink = StringSink;
3095 exports.Symbol = Symbol; 3095 exports.Symbol = Symbol;
3096 exports.Type = Type; 3096 exports.Type = Type;
3097 exports.Uri = Uri; 3097 exports.Uri = Uri;
3098 })(core || (core = {})); 3098 })(core || (core = {}));
OLDNEW
« no previous file with comments | « lib/runtime/dart/async.js ('k') | lib/src/checker/rules.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698