| Index: lib/compiler/implementation/runtime_types.dart
|
| diff --git a/lib/compiler/implementation/runtime_types.dart b/lib/compiler/implementation/runtime_types.dart
|
| index e1a51e6f22bc19d67b8c8c9c5327ec223bf90999..9b0820f10ea82b141eba018c74a2c9781f94097b 100644
|
| --- a/lib/compiler/implementation/runtime_types.dart
|
| +++ b/lib/compiler/implementation/runtime_types.dart
|
| @@ -33,7 +33,7 @@ class RuntimeTypeInformation {
|
| bool hasTypeArguments(DartType type) {
|
| if (type is InterfaceType) {
|
| InterfaceType interfaceType = type;
|
| - return !interfaceType.arguments.isEmpty();
|
| + return !interfaceType.arguments.isEmpty;
|
| }
|
| return false;
|
| }
|
| @@ -69,7 +69,7 @@ class RuntimeTypeInformation {
|
| */
|
| String generateRuntimeTypeString(ClassElement element, int numberOfInputs) {
|
| String elementName = getName(element);
|
| - if (element.typeVariables.isEmpty()) return "'$elementName'";
|
| + if (element.typeVariables.isEmpty) return "'$elementName'";
|
| String stringify(_, bool hasValue) => hasValue ? "' + # + '" : "Dynamic";
|
| String arguments = stringifyTypeVariables(element.typeVariables,
|
| numberOfInputs,
|
|
|