Index: pkg/dev_compiler/lib/src/compiler/js_typeref_codegen.dart |
diff --git a/pkg/dev_compiler/lib/src/compiler/js_typeref_codegen.dart b/pkg/dev_compiler/lib/src/compiler/js_typeref_codegen.dart |
index b43692d09b699aff46e20be3de8e47248b99a06f..28bb62697f891131c661f9ce32f210817f4a1133 100644 |
--- a/pkg/dev_compiler/lib/src/compiler/js_typeref_codegen.dart |
+++ b/pkg/dev_compiler/lib/src/compiler/js_typeref_codegen.dart |
@@ -52,8 +52,10 @@ abstract class JsTypeRefCodegen { |
for (var param in type.parameters) { |
if (param.parameterKind == ParameterKind.NAMED) break; |
var type = emitTypeRef(param.type); |
- args[new JS.Identifier(param.name)] = param.parameterKind == |
- ParameterKind.POSITIONAL ? type.toOptional() : type; |
+ args[new JS.Identifier(param.name)] = |
+ param.parameterKind == ParameterKind.POSITIONAL |
+ ? type.toOptional() |
+ : type; |
} |
var namedParamType = emitNamedParamsArgType(type.parameters); |
if (namedParamType != null) { |