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

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

Issue 3006463002: Test some more complex cases of covariant generic parameters. (Closed)
Patch Set: Created 3 years, 3 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 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.f1(l);
16 }
17 static method g2(self::C<core::num> c, () → core::num callback) → void {
18 c.f2(callback);
19 }
20 static method g3(self::C<core::num> c, (core::num) → core::num callback) → void {
21 c.f3(callback);
22 }
23 static method g4(self::C<core::num> c, (core::num) → void callback) → void {
24 c.f4(callback);
25 }
26 static method main() → dynamic {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698