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

Side by Side Diff: test/codegen/destructuring.dart

Issue 1677863002: Use default params when --destructure-named-params + fix renaming of reserved destructured params (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « lib/src/js/template.dart ('k') | test/codegen/expect/closure.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 f(int a, b, [c = 1]) {
2 f(a, b, c);
3 }
4 g(int a, b, {c : 1}) {
5 f(a, b, c);
6 }
7
8 invalid_names1(int let, function, arguments) {
9 f(let, function, arguments);
10 }
11 invalid_names2([int let, function = 1, arguments]) {
12 f(let, function, arguments);
13 }
14 invalid_names3({int let, function, arguments : 2}) {
15 f(let, function, arguments);
16 }
17
18 names_clashing_with_object_props({int constructor, valueOf, hasOwnProperty : 2}) {
19 f(constructor, valueOf, hasOwnProperty);
20 }
OLDNEW
« no previous file with comments | « lib/src/js/template.dart ('k') | test/codegen/expect/closure.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698