| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index 63f0684f79bf10098d9e36e70f11d68c9d83ba1a..b377e5f30833e5189f225db2f4204481bfeff93a 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));
|
|
|