807d3b3b22
it's all under input_sdk now: lib -> the lib folder private -> the dart:_* libs patch -> the files with @patch I imagine we'll try and focus changes on the last two
26 lines
646 B
Dart
26 lines
646 B
Dart
// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
|
|
import 'dart:_js_primitives' show printString;
|
|
import 'dart:_js_helper' show JS, patch;
|
|
import 'dart:_interceptors' show JSArray;
|
|
|
|
@patch
|
|
class Symbol implements core.Symbol {
|
|
@patch
|
|
const Symbol(String name)
|
|
: this._name = name;
|
|
}
|
|
|
|
@patch
|
|
void printToConsole(String line) {
|
|
printString('$line');
|
|
}
|
|
|
|
@patch
|
|
List makeListFixedLength(List growableList) {
|
|
JSArray.markFixedList(growableList);
|
|
return growableList;
|
|
}
|