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

Unified Diff: lib/src/runner/browser/polymer.dart

Issue 1960503002: Fix all strong-mode errors and warnings. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: .analysis_options 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/runner/browser/platform.dart ('k') | lib/src/runner/configuration.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/polymer.dart
diff --git a/lib/src/runner/browser/polymer.dart b/lib/src/runner/browser/polymer.dart
index 86c1d9f381fb87b82261904da7760dd506fdaf2a..bbaecbe9e6cc7d97e08f2b2dbc97c0961cac1560 100644
--- a/lib/src/runner/browser/polymer.dart
+++ b/lib/src/runner/browser/polymer.dart
@@ -4,11 +4,12 @@
import 'dart:io';
+import 'package:collection/collection.dart';
import 'package:glob/glob.dart';
import 'package:path/path.dart' as p;
import 'package:yaml/yaml.dart';
-/// Whether the package being tested uses the Polymer transforemrs at all.
+/// Whether the package being tested uses the Polymer transformers at all.
///
/// This will be `null` until [_initialize] is called.
bool _usesPolymer;
@@ -80,8 +81,10 @@ void _initialize() {
var configuration = transformer.values.single;
- var entrypoints = configuration["entry_points"];
- if (entrypoints != null) _entrypoints = entrypoints.toSet();
+ var entrypoints = configuration["entry_points"] as List;
+ if (entrypoints != null) {
+ _entrypoints = DelegatingSet.typed(entrypoints.toSet());
+ }
_includes = _parseGlobField(configuration, r"$includes");
_excludes = _parseGlobField(configuration, r"$excludes");
« no previous file with comments | « lib/src/runner/browser/platform.dart ('k') | lib/src/runner/configuration.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698