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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/patch/io_patch.dart

Issue 2988613002: Compute the script Uri lazily (Closed)
Patch Set: Created 3 years, 5 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 | « no previous file | runtime/bin/platform_patch.dart » ('j') | runtime/bin/platform_patch.dart » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:_js_helper' show patch; 5 import 'dart:_js_helper' show patch;
6 6
7 @patch 7 @patch
8 class _Directory { 8 class _Directory {
9 @patch 9 @patch
10 static _current() { 10 static _current() {
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 @patch 249 @patch
250 static String _version() { 250 static String _version() {
251 throw new UnsupportedError("Platform._version"); 251 throw new UnsupportedError("Platform._version");
252 } 252 }
253 253
254 @patch 254 @patch
255 static String _localeName() { 255 static String _localeName() {
256 throw new UnsupportedError("Platform._localeName"); 256 throw new UnsupportedError("Platform._localeName");
257 } 257 }
258
259 @patch
260 static Uri _script() {
261 throw new UnsupportedError("Platform._script");
262 }
258 } 263 }
259 264
260 @patch 265 @patch
261 class _ProcessUtils { 266 class _ProcessUtils {
262 @patch 267 @patch
263 static void _exit(int status) { 268 static void _exit(int status) {
264 throw new UnsupportedError("ProcessUtils._exit"); 269 throw new UnsupportedError("ProcessUtils._exit");
265 } 270 }
266 271
267 @patch 272 @patch
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after
616 } 621 }
617 } 622 }
618 623
619 @patch 624 @patch
620 class _IOService { 625 class _IOService {
621 @patch 626 @patch
622 static Future _dispatch(int request, List data) { 627 static Future _dispatch(int request, List data) {
623 throw new UnsupportedError("_IOService._dispatch"); 628 throw new UnsupportedError("_IOService._dispatch");
624 } 629 }
625 } 630 }
OLDNEW
« no previous file with comments | « no previous file | runtime/bin/platform_patch.dart » ('j') | runtime/bin/platform_patch.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698