blob: fb4af0a06f4b140a12c13128150ae866ff896e0f [file] [log] [blame]
library test;
import self as self;
import "dart:async" as asy;
import "dart:core" as core;
import "dart:async";
static method test() dynamic {
asy::Future<core::int*>* f;
asy::Future<core::List<core::int*>*>* b = f.{asy::Future::then}<core::List<dynamic>*>((core::int* x) core::List<dynamic>* => <dynamic>[]).{asy::Future::whenComplete}(() Null {}) as{TypeError} asy::Future<core::List<core::int*>*>*;
b = f.{asy::Future::then}<core::List<core::int*>*>((core::int* x) core::List<core::int*>* => <core::int*>[]);
}
static method main() dynamic {}