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

Unified Diff: lib/src/utils.dart

Issue 1245013002: some fixes for --strong warnings (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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/server/dependency_graph.dart ('k') | tool/analyze.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/utils.dart
diff --git a/lib/src/utils.dart b/lib/src/utils.dart
index e72e2ad25cd82a352ce749ebd6c46b338ceff948..9511c2bd5941753d123c4a6c07725c41baa4837c 100644
--- a/lib/src/utils.dart
+++ b/lib/src/utils.dart
@@ -382,7 +382,7 @@ bool inInvocationContext(SimpleIdentifier node) {
final _objectMap = new Expando('providerToObjectMap');
Map<String, DartType> getObjectMemberMap(TypeProvider typeProvider) {
- Map<String, DartType> map = _objectMap[typeProvider];
+ var map = _objectMap[typeProvider] as Map<String, DartType>;
Jennifer Messerly 2015/07/22 22:37:29 for some reason, this was a warning the old way. B
if (map == null) {
map = <String, DartType>{};
_objectMap[typeProvider] = map;
« no previous file with comments | « lib/src/server/dependency_graph.dart ('k') | tool/analyze.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698