Address comments from an earlier CL

Change-Id: I6a47cb76e6babeea422791fb6b1887dd244c2f5e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125120
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Paul Berry <paulberry@google.com>
This commit is contained in:
Brian Wilkerson
2019-11-13 17:10:09 +00:00
committed by commit-bot@chromium.org
parent 7c71115b28
commit ffbd2eb7ee
2 changed files with 3 additions and 3 deletions
@@ -20,8 +20,8 @@ class InstrumentationInformation {
/// The node used for type sources that are never `null`.
NullabilityNodeInfo never;
/// Expando associating [NodeInformation] wich [NullabilityNodeInfo] objects.
Expando<NodeInformation> nodeInformation = Expando<NodeInformation>();
/// A map associating [NodeInformation] with [NullabilityNodeInfo] objects.
Map<NullabilityNodeInfo, NodeInformation> nodeInformation = {};
/// A list of the steps in the propagation of nullability information through
/// the nullability graph, to report details of the step that was performed
@@ -86,7 +86,7 @@ class InstrumentationListener implements NullabilityMigrationInstrumentation {
}
String _filePathForSource(Source source) {
return source.toString();
return source.fullName;
}
/// Return the source information associated with the given [source], creating