From d0a5744edc15e394a64999b5bf8d5711e68b9c02 Mon Sep 17 00:00:00 2001 From: Natalie Weizenbaum <nweiz@google.com> Date: Wed, 30 Nov 2016 17:34:13 -0800 Subject: [PATCH] Fix an incorrect type annotation. (#1478) --- lib/src/entrypoint.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/entrypoint.dart b/lib/src/entrypoint.dart index db7c4bc4..bc084b1c 100644 --- a/lib/src/entrypoint.dart +++ b/lib/src/entrypoint.dart @@ -694,7 +694,7 @@ class Entrypoint { // TODO(nweiz): roll this into [listDir] in io.dart once issue 4775 is fixed. /// Recursively lists the contents of [dir], excluding hidden `.DS_Store` /// files and `package` files. - List<String> _listDirWithoutPackages(dir) { + Iterable<String> _listDirWithoutPackages(dir) { return listDir(dir).expand/*<String>*/((file) { if (p.basename(file) == 'packages') return []; if (!dirExists(file)) return []; -- GitLab