OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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("dart:core"); | 5 #library("dart:core"); |
6 #import("dart:coreimpl"); | 6 #import("dart:coreimpl"); |
7 | 7 |
8 // TODO(jimhug): Better way to map in standard corelib | 8 // TODO(jimhug): Better way to map in standard corelib |
9 #source("../../corelib/src/bool.dart"); | 9 #source("../../corelib/src/bool.dart"); |
10 #source("../../corelib/src/collection.dart"); | 10 #source("../../corelib/src/collection.dart"); |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 | 110 |
111 const Object() native; | 111 const Object() native; |
112 | 112 |
113 bool operator ==(Object other) native; | 113 bool operator ==(Object other) native; |
114 String toString() native; | 114 String toString() native; |
115 | 115 |
116 // TODO(jmesserly): optimize this. No need to call it. | 116 // TODO(jmesserly): optimize this. No need to call it. |
117 get dynamic() => this; | 117 get dynamic() => this; |
118 | 118 |
119 // TODO(jmesserly): add named args. For now stay compatible with the VM. | 119 // TODO(jmesserly): add named args. For now stay compatible with the VM. |
120 noSuchMethod(String name, List args) { | 120 void noSuchMethod(String name, List args) { |
121 throw new NoSuchMethodException(this, name, args); | 121 throw new NoSuchMethodException(this, name, args); |
122 } | 122 } |
123 } | 123 } |
OLD | NEW |