| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index d6e8284a610a95fe8e771bf0203450bb8f741d12..56c8c1f4c36004fb4e62f9d53c3a0ac95d5fa3bb 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -78,7 +78,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
|
| return prettyPrint(fun, work.element);
|
| });
|
| }
|
| -
|
| +
|
| void addTypeParameters(Element element,
|
| List<js.Parameter> parameters,
|
| Map<Element, String> parameterNames) {
|
| @@ -88,7 +88,7 @@ class SsaCodeGeneratorTask extends CompilerTask {
|
| String name = typeVariable.element.name.slowToString();
|
| String prefix = '';
|
| // Avoid collisions with real parameters of the method.
|
| - do {
|
| + do {
|
| name = JsNames.getValid('$prefix$name');
|
| prefix = '\$$prefix';
|
| } while (parameterNames.containsValue(name));
|
|
|