| 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..79386c632cb7fbaca837cb7e1e50cc5832f123ae 100644
|
| --- a/lib/compiler/implementation/runtime_types.dart
|
| +++ b/lib/compiler/implementation/runtime_types.dart
|
| @@ -64,17 +64,17 @@ class RuntimeTypeInformation {
|
| /**
|
| * Generate a string representation template for this element, using '#' to
|
| * denote the place for the type argument input. If there are more type
|
| - * variables than [numberOfInputs], 'Dynamic' is used as the value for these
|
| + * variables than [numberOfInputs], 'dynamic' is used as the value for these
|
| * arguments.
|
| */
|
| String generateRuntimeTypeString(ClassElement element, int numberOfInputs) {
|
| String elementName = getName(element);
|
| - if (element.typeVariables.isEmpty()) return "'$elementName'";
|
| - String stringify(_, bool hasValue) => hasValue ? "' + # + '" : "Dynamic";
|
| + if (element.typeVariables.isEmpty()) return "$elementName";
|
| + String stringify(_, bool hasValue) => hasValue ? "' + # + '" : "dynamic";
|
| String arguments = stringifyTypeVariables(element.typeVariables,
|
| numberOfInputs,
|
| stringify);
|
| - return "'$elementName<$arguments>'";
|
| + return "$elementName<$arguments>";
|
| }
|
|
|
| /**
|
|
|