Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Unified Diff: lib/src/compiler/type_utilities.dart

Issue 2016483002: Enable strong mode in DDC, fix all warnings/errors (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/src/compiler/side_effect_analysis.dart ('k') | lib/src/js_ast/builder.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « lib/src/compiler/side_effect_analysis.dart ('k') | lib/src/js_ast/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698