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

Side by Side Diff: pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_complex.dart.strong.expect

Issue 3006463002: Test some more complex cases of covariant generic parameters. (Closed)
Patch Set: Created 3 years, 4 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 | « pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_complex.dart.outline.expect ('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 test;
2 import self as self;
3 import "dart:core" as core;
4
5 class C<T extends core::Object> extends core::Object {
6 default constructor •() → void
7 : super core::Object::•()
8 ;
9 method f1(core::List<self::C::T> x) → void {}
10 method f2(() → self::C::T callback) → void {}
11 method f3((self::C::T) → self::C::T callback) → void {}
12 method f4((self::C::T) → void callback) → void {}
13 }
14 static method g1(self::C<core::num> c, core::List<core::num> l) → void {
15 c.{self::C::f1}(l);
16 }
17 static method g2(self::C<core::num> c, () → core::num callback) → void {
18 c.{self::C::f2}(callback);
19 }
20 static method g3(self::C<core::num> c, (core::num) → core::num callback) → void {
21 c.{self::C::f3}(callback);
22 }
23 static method g4(self::C<core::num> c, (core::num) → void callback) → void {
24 c.{self::C::f4}(callback);
25 }
26 static method main() → dynamic {}
OLDNEW
« no previous file with comments | « pkg/front_end/testcases/runtime_checks/covariant_generic_parameter_complex.dart.outline.expect ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698