OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 #library('core'); | 5 #library('dart:core'); |
6 | 6 |
7 #import('coreimpl.dart'); | 7 #import('coreimpl.dart'); |
8 | 8 |
9 #import('js_helper.dart'); // TODO(ahe): remove this import. | 9 #import('js_helper.dart'); // TODO(ahe): remove this import. |
10 | 10 |
11 #source('../../../../corelib/src/bool.dart'); | 11 #source('../../../../corelib/src/bool.dart'); |
12 #source('../../../../corelib/src/collection.dart'); | 12 #source('../../../../corelib/src/collection.dart'); |
13 #source('../../../../corelib/src/comparable.dart'); | 13 #source('../../../../corelib/src/comparable.dart'); |
14 #source('../../../../corelib/src/date.dart'); | 14 #source('../../../../corelib/src/date.dart'); |
15 #source('../../../../corelib/src/double.dart'); | 15 #source('../../../../corelib/src/double.dart'); |
(...skipping 25 matching lines...) Expand all Loading... |
41 | 41 |
42 void print(var obj) => Primitives.printString(obj.toString()); | 42 void print(var obj) => Primitives.printString(obj.toString()); |
43 | 43 |
44 class Object { | 44 class Object { |
45 String toString() => Primitives.objectToString(this); | 45 String toString() => Primitives.objectToString(this); |
46 | 46 |
47 void noSuchMethod(String name, List args) { | 47 void noSuchMethod(String name, List args) { |
48 throw new NoSuchMethodException(this, name, args); | 48 throw new NoSuchMethodException(this, name, args); |
49 } | 49 } |
50 } | 50 } |
OLD | NEW |