Index: lib/src/codegen/js_codegen.dart |
diff --git a/lib/src/codegen/js_codegen.dart b/lib/src/codegen/js_codegen.dart |
index 85a64ebe24579a277b4a306516983183905a2b10..09c730425d6d09c114fe9ce84777c92c259310e8 100644 |
--- a/lib/src/codegen/js_codegen.dart |
+++ b/lib/src/codegen/js_codegen.dart |
@@ -1990,8 +1990,9 @@ class JSCodegenVisitor extends GeneralizingAstVisitor with ClosureAnnotator { |
/// We cannot destructure named params that clash with JS reserved names: |
/// see discussion in https://github.com/dart-lang/dev_compiler/issues/392. |
bool _isDestructurableNamedParam(FormalParameter param) => |
- _isNamedParam(param) && !invalidVariableName(param.identifier.name) && |
- options.destructureNamedParams; |
+ _isNamedParam(param) && |
+ !invalidVariableName(param.identifier.name) && |
+ options.destructureNamedParams; |
@override |
List<JS.Parameter> visitFormalParameterList(FormalParameterList node) => |