Index: lib/src/compiler/type_utilities.dart |
diff --git a/lib/src/compiler/type_utilities.dart b/lib/src/compiler/type_utilities.dart |
index 2d1393650047cbcb03a3b150da395cac600e02f5..9c87835722ff8f45c961b016baaea7e2ae2b56bc 100644 |
--- a/lib/src/compiler/type_utilities.dart |
+++ b/lib/src/compiler/type_utilities.dart |
@@ -165,7 +165,7 @@ class TypeTable { |
/// definitions tracked by the table. If [formals] is present, only |
/// emit the definitions which depend on the formals. |
List<JS.Statement> discharge([List<TypeParameterElement> formals]) { |
- var filter = formals?.expand((p) => _scopeDependencies[p] ?? []); |
+ var filter = formals?.expand((p) => _scopeDependencies[p] ?? <DartType>[]); |
var stmts = [ |
_cacheNames, |
_definiteCacheNames, |