| Index: lib/src/util/io.dart
|
| diff --git a/lib/src/util/io.dart b/lib/src/util/io.dart
|
| index ab408b60d1921375e8350fece81e184b4630edca..faea6c03e9e6f378000db194a4ac7436ac208e1f 100644
|
| --- a/lib/src/util/io.dart
|
| +++ b/lib/src/util/io.dart
|
| @@ -163,8 +163,8 @@ String libraryPath(Symbol libraryName, {String packageRoot}) {
|
| ///
|
| /// This is necessary for ensuring that our port binding isn't flaky for
|
| /// applications that don't print out the bound port.
|
| -Future getUnusedPort(tryPort(int port)) {
|
| - var value;
|
| +Future/*<T>*/ getUnusedPort/*<T>*/(/*=T*/ tryPort(int port)) {
|
| + var/*=T*/ value;
|
| return Future.doWhile(() async {
|
| value = await tryPort(await getUnsafeUnusedPort());
|
| return value == null;
|
|
|