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

Unified Diff: benchmark/index.dart

Issue 1616953004: Fixed strong mode errors and warnings reachable from lib/observe.dart (Closed) Base URL: https://github.com/dart-lang/observe.git@master
Patch Set: Removed inferrable type param Created 4 years, 11 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 | « .analysis_options ('k') | lib/html.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: benchmark/index.dart
diff --git a/benchmark/index.dart b/benchmark/index.dart
index 5a253adeb56feb465cfc28ea45859c02d5146e3d..3e26da6d7dd5d8af90f3f794cbbc37b075841fe4 100644
--- a/benchmark/index.dart
+++ b/benchmark/index.dart
@@ -55,7 +55,7 @@ final DivElement canvasWrapper = querySelector('#canvasWrapper');
final SelectElement benchmarkSelect = querySelector('#benchmarkSelect');
final SelectElement configSelect = querySelector('#configSelect');
final UListElement legendList = querySelector('#legendList');
-final List<List<String>> colors = [
+final List<String> colors = [
[0, 0, 255],
[138, 43, 226],
[165, 42, 42],
@@ -96,7 +96,7 @@ main() {
i++;
});
- var results = [];
+ var results = <List<double>>[];
for (int objectCount in objectCounts) {
int x = 0;
for (int mutationCount in mutationCounts) {
« no previous file with comments | « .analysis_options ('k') | lib/html.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698