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

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

Issue 1879373004: Implement modular compilation (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 8 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 | « test/codegen/closure.dart ('k') | test/codegen/dir/html_input_a.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // compile options: --destructure-named-params
1 import 'dart-ext:foo'; 2 import 'dart-ext:foo';
2 import 'package:js/src/varargs.dart'; 3 import 'package:js/src/varargs.dart';
3 4
4 f(int a, b, [c = 1]) { 5 f(int a, b, [c = 1]) {
5 f(a, b, c); 6 f(a, b, c);
6 } 7 }
7 external f_ext(int a, b, [c = 1]); 8 external f_ext(int a, b, [c = 1]);
8 f_nat(int a, b, [c = 1]) native "f_nat"; 9 f_nat(int a, b, [c = 1]) native "f_nat";
9 f_sync(int a, b, [c = 1]) sync* {} 10 f_sync(int a, b, [c = 1]) sync* {}
10 f_async(int a, b, [c = 1]) async* {} 11 f_async(int a, b, [c = 1]) async* {}
(...skipping 20 matching lines...) Expand all
31 invalid_names2([int let, function = 1, arguments]) { 32 invalid_names2([int let, function = 1, arguments]) {
32 f(let, function, arguments); 33 f(let, function, arguments);
33 } 34 }
34 invalid_names3({int let, function, arguments : 2}) { 35 invalid_names3({int let, function, arguments : 2}) {
35 f(let, function, arguments); 36 f(let, function, arguments);
36 } 37 }
37 38
38 names_clashing_with_object_props({int constructor, valueOf, hasOwnProperty : 2}) { 39 names_clashing_with_object_props({int constructor, valueOf, hasOwnProperty : 2}) {
39 f(constructor, valueOf, hasOwnProperty); 40 f(constructor, valueOf, hasOwnProperty);
40 } 41 }
OLDNEW
« no previous file with comments | « test/codegen/closure.dart ('k') | test/codegen/dir/html_input_a.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698