| Index: sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| index 7a6e6f3abda157d9e18a268c85b16c578da6c22d..563b15a51823f3d0455c3bd794eccc42b2ecdcd0 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/js_backend/namer.dart
|
| @@ -1240,6 +1240,10 @@ class FunctionTypeNamer extends DartTypeVisitor {
|
| }
|
|
|
| visitFunctionType(FunctionType type, _) {
|
| + if (type.isSimple) {
|
| + sb.write('args${type.parameterTypes.slowLength()}');
|
| + return;
|
| + }
|
| visit(type.returnType);
|
| sb.write('_');
|
| for (Link<DartType> link = type.parameterTypes;
|
|
|