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

Side by Side Diff: pkg/front_end/testcases/inference/parameter_defaults_downwards.dart.direct.expect

Issue 2915763008: Perform type inference on default values of optional/named parameters. (Closed)
Patch Set: Created 3 years, 6 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
OLDNEW
(Empty)
1 library test;
2 import self as self;
3 import "dart:core" as core;
4
5 static method optional_toplevel([core::List<core::int> x = const <dynamic>[]]) → void {}
6 static method named_toplevel({core::List<core::int> x = const <dynamic>[]}) → vo id {}
7 static method main() → dynamic {
8 function optional_local([core::List<core::int> x = const <dynamic>[]]) → void {}
9 function named_local({core::List<core::int> x = const <dynamic>[]}) → void {}
10 dynamic optional_closure = ([core::List<core::int> x = const <dynamic>[]]) → d ynamic {};
11 dynamic name_closure = ({core::List<core::int> x = const <dynamic>[]}) → dynam ic {};
12 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698