| Index: lib/compiler/implementation/lib/core_patch.dart
|
| diff --git a/lib/compiler/implementation/lib/core_patch.dart b/lib/compiler/implementation/lib/core_patch.dart
|
| index 70ac1c3ac87b32c5c11be9f9646cf0372033a8c4..eeabd1c3c27df7e4cde6766b5e0102871c515ec8 100644
|
| --- a/lib/compiler/implementation/lib/core_patch.dart
|
| +++ b/lib/compiler/implementation/lib/core_patch.dart
|
| @@ -23,6 +23,11 @@ patch class Object {
|
| patch void noSuchMethod(String name, List args) {
|
| throw new NoSuchMethodError(this, name, args);
|
| }
|
| +
|
| + patch Type runtimeType() {
|
| + String key = getRuntimeTypeString(this);
|
| + return getOrCreateCachedRuntimeType(key);
|
| + }
|
| }
|
|
|
|
|
|
|