Chromium Code Reviews| Index: runtime/lib/object_patch.dart |
| diff --git a/runtime/lib/object_patch.dart b/runtime/lib/object_patch.dart |
| index 71ee5faba3b6717f8e37893ad69bb2aed451527e..a6f07007e3082b4eedf5820840be99ad0e8e2737 100644 |
| --- a/runtime/lib/object_patch.dart |
| +++ b/runtime/lib/object_patch.dart |
| @@ -25,6 +25,9 @@ patch class Object { |
| _noSuchMethod(this, functionName, args); |
| } |
| + // Not yet supported. |
| + /* patch */ Type get runtimeType => null; |
|
ahe
2012/09/27 11:30:54
Perhaps you should throw an exception instead.
|
| + |
| static void _noSuchMethod(Object obj, String functionName, List args) |
| native "Object_noSuchMethod"; |