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

Side by Side Diff: tool/input_sdk/patch/internal_patch.dart

Issue 1952223006: Update String.fromCharCodes from sdk (Closed) Base URL: https://github.com/dart-lang/dev_compiler@master
Patch Set: Created 4 years, 7 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 | « tool/input_sdk/patch/core_patch.dart ('k') | tool/input_sdk/private/js_helper.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 // 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_primitives' show printString; 5 import 'dart:_js_primitives' show printString;
6 import 'dart:_js_helper' show JS, patch; 6 import 'dart:_js_helper' show patch;
7 import 'dart:_interceptors' show JSArray; 7 import 'dart:_interceptors' show JSArray;
8 8
9 @patch 9 @patch
10 class Symbol implements core.Symbol { 10 class Symbol implements core.Symbol {
11 @patch 11 @patch
12 const Symbol(String name) 12 const Symbol(String name)
13 : this._name = name; 13 : this._name = name;
14 } 14 }
15 15
16 @patch 16 @patch
17 void printToConsole(String line) { 17 void printToConsole(String line) {
18 printString('$line'); 18 printString('$line');
19 } 19 }
20 20
21 @patch 21 @patch
22 List/*<E>*/ makeListFixedLength/*<E>*/(List/*<E>*/ growableList) { 22 List/*<E>*/ makeListFixedLength/*<E>*/(List/*<E>*/ growableList) {
23 JSArray.markFixedList(growableList); 23 JSArray.markFixedList(growableList);
24 return growableList; 24 return growableList;
25 } 25 }
26 26
27 @patch 27 @patch
28 List/*<E>*/ makeFixedListUnmodifiable/*<E>*/(List/*<E>*/ list) { 28 List/*<E>*/ makeFixedListUnmodifiable/*<E>*/(List/*<E>*/ list) {
29 JSArray.markUnmodifiableList(list); 29 JSArray.markUnmodifiableList(list);
30 return list; 30 return list;
31 } 31 }
OLDNEW
« no previous file with comments | « tool/input_sdk/patch/core_patch.dart ('k') | tool/input_sdk/private/js_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698