| 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 part of dart.core; | 5 part of dart.core; |
| 6 | 6 |
| 7 /** | 7 /** |
| 8 * The base class for all Dart objects. | 8 * The base class for all Dart objects. |
| 9 * | 9 * |
| 10 * Because Object is the root of the Dart class hierarchy, | 10 * Because Object is the root of the Dart class hierarchy, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 throw new NoSuchMethodError( | 91 throw new NoSuchMethodError( |
| 92 this, | 92 this, |
| 93 invocation.memberName, | 93 invocation.memberName, |
| 94 invocation.positionalArguments, | 94 invocation.positionalArguments, |
| 95 invocation.namedArguments); | 95 invocation.namedArguments); |
| 96 } | 96 } |
| 97 | 97 |
| 98 /** | 98 /** |
| 99 * A representation of the runtime type of the object. | 99 * A representation of the runtime type of the object. |
| 100 */ | 100 */ |
| 101 Type get runtimeType => getRuntimeType(this); | 101 Type get runtimeType => JS('Type', 'dart.realRuntimeType(#)', this); |
| 102 } | 102 } |
| OLD | NEW |