| Index: lib/runtime/dart_logging_runtime.dart
|
| diff --git a/lib/runtime/dart_logging_runtime.dart b/lib/runtime/dart_logging_runtime.dart
|
| index 1f76393e47130fe5c6e2dc94833d77eeac3ad73a..ac5273a6cabd73f08e896acf76560b0ba6bb5636 100644
|
| --- a/lib/runtime/dart_logging_runtime.dart
|
| +++ b/lib/runtime/dart_logging_runtime.dart
|
| @@ -49,8 +49,8 @@ CastRecord _lookupInCache(Type runtimeType, Type staticType) {
|
|
|
| var _successCache = <Type, Set<Type>>{};
|
|
|
| -dynamic cast(dynamic obj, Type fromType, Type staticType, String kind,
|
| - String key, bool dartIs, bool isGround) {
|
| +dynamic cast(dynamic obj, Type fromType, Type staticType, [String kind,
|
| + String key, bool dartIs, bool isGround]) {
|
| var runtimeType = obj.runtimeType;
|
| // Short-circuit uninteresting cases.
|
| if (_skipSuccess && _successCache.containsKey(staticType)) {
|
|
|