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

Side by Side Diff: testcases/type-propagation/named_parameters.baseline.txt

Issue 2502343002: Store named parameters in sorted lists instead of using maps. (Closed)
Patch Set: Remove duplicates from named parameter lists to recover from erroneous inputs Created 4 years, 1 month 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 | « testcases/strong-mode/named_parameters.baseline.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 library;
2 import self as self;
3 import "dart:core" as core;
4
5 class Superclass extends core::Object {
6 constructor •() → void
7 : super core::Object::•()
8 ;
9 method foo({dynamic/Null alpha, dynamic/Null beta}) → dynamic/Null {}
10 method bar({dynamic/Null alpha, dynamic/Null beta}) → dynamic/Null {}
11 method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic/Nothing callb ack) → dynamic/Null {}
12 }
13 class Subclass extends self::Superclass {
14 constructor •() → void
15 : super self::Superclass::•()
16 ;
17 method foo({dynamic/core::int* {null,int} alpha, dynamic/core::int* {null,int} beta}) → dynamic/Null {}
18 method bar({dynamic/Null alpha, dynamic/Null beta}) → dynamic/Null {}
19 method namedCallback(({alpha: dynamic, beta: dynamic}) → dynamic/Nothing callb ack) → dynamic/Null {}
20 }
21 static method topLevelNamed(dynamic/core::int* {int} beta, dynamic/core::int* {i nt} alpha, {dynamic/core::int* {null,int} delta, dynamic/core::int* {null,int} g amma}) → dynamic/Null {}
22 static method topLevelOptional(dynamic/Nothing beta, dynamic/Nothing alpha, [dyn amic/Null gamma, dynamic/Null delta]) → dynamic/Null {}
23 static method main() → dynamic/Null {
24 new self::Subclass::•().foo(beta: 1, alpha: 2);
25 new self::Subclass::•().foo(alpha: 1, beta: 2);
26 self::topLevelNamed(1, 2, gamma: 3, delta: 4);
27 self::topLevelNamed(1, 2, delta: 3, gamma: 4);
28 }
OLDNEW
« no previous file with comments | « testcases/strong-mode/named_parameters.baseline.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698