Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

Several language violations from dartanalyzer #196

Closed
srawlins opened this issue Nov 11, 2016 · 1 comment
Closed

Several language violations from dartanalyzer #196

srawlins opened this issue Nov 11, 2016 · 1 comment

Comments

@srawlins
Copy link
Contributor

$ dartanalyzer --version
dartanalyzer version 1.20.1$ dartanalyzer lib/charts/charts.dart
Analyzing [lib/charts/charts.dart]...
[error] Could not infer type parameter E, dynamic must be of type String. (/Users/srawlins/code/dart-charted/lib/charts/data_transformers/aggregation_transformer.dart, line 96, col 47)
[error] Could not infer type parameter E, dynamic must be of type String. (/Users/srawlins/code/dart-charted/lib/charts/data_transformers/aggregation_transformer.dart, line 183, col 20)
[error] Could not infer type parameter E, num must be of type int. (/Users/srawlins/code/dart-charted/lib/locale/format/number_format.dart, line 229, col 65)
[hint] 'dart.pkg.collection.equality' is deprecated (/Users/srawlins/code/dart-charted/lib/charts/charts.dart, line 28, col 1)
[hint] Field does not override an inherited getter or setter (/Users/srawlins/code/dart-charted/lib/charts/src/chart_config_impl.dart, line 28, col 8)
[hint] Field does not override an inherited getter or setter (/Users/srawlins/code/dart-charted/lib/charts/src/chart_events_impl.dart, line 13, col 19)
[hint] Field does not override an inherited getter or setter (/Users/srawlins/code/dart-charted/lib/charts/themes/quantum_theme.dart, line 140, col 14)
3 errors and 4 hints found.
@keertip
Copy link

keertip commented Dec 9, 2016

Looks like this is not longer the case with analyzer from 1.21.0-dev.11.3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants