Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: lib/src/codegen/js_codegen.dart

Issue 1507343013: Run tests on Chrome stable by default (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « karma.conf.js ('k') | lib/src/options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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) =>
« no previous file with comments | « karma.conf.js ('k') | lib/src/options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698