Chromium Code Reviews| Index: dart/sdk/lib/_internal/lib/js_rti.dart |
| diff --git a/dart/sdk/lib/_internal/lib/js_rti.dart b/dart/sdk/lib/_internal/lib/js_rti.dart |
| index 2395e5b2a2d1c21bbe3fc800643534af59792969..7a645a33011c59406ae5e3621c903da70e771ef2 100644 |
| --- a/dart/sdk/lib/_internal/lib/js_rti.dart |
| +++ b/dart/sdk/lib/_internal/lib/js_rti.dart |
| @@ -382,7 +382,7 @@ bool isSupertypeOfNull(var type) { |
| * See the comment in the beginning of this file for a description of type |
| * representations. |
| */ |
| -bool checkSubtypeOfRuntimeType(Object o, var t) { |
| +bool checkSubtypeOfRuntimeType(o, var t) { |
|
kasperl
2013/11/29 10:10:55
Get rid of 'var' for t too?
ahe
2013/12/06 15:57:53
Done.
|
| if (isNull(o)) return isSupertypeOfNull(t); |
| if (isNull(t)) return true; |
| // Get the runtime type information from the object here, because we may |