You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
import'dart:async';
classA {
Future<int> bar() async {
var result =await foo/*<int>*/(1);
return result +1;
}
Future/*<T>*/ foo/*<T>*/(/*=T*/ x) async {
var result =awaitnewFuture/*<T>*/.value(x);
return result;
}
}
Future<Null> main() async {
var a =newA();
var x =await a.bar();
print(x);
}
thanks, I can take a look. we have a lot of paths for generating function bodies so it's not terribly surprising. I'll also add to the tracking bug #435
generates this:
The
foo
method isn't taking theT
type parameter.The text was updated successfully, but these errors were encountered: