| 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 bc881b3391220ec29540977276584feb97808576..c98cc425186e54a61395f14dc77d256fa6ba6a74 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);
|
| + }
|
| }
|
|
|
|
|
|
|