DescriptionFix path handling when creating summaries.
The path passed to "--packageMode" must be converted to an absolute path
because it is used to normalize file paths (which are automatically
converted to absolute paths by the PhysicalResourceProvider.
We should not call `resourceProvider.pathContext.absolute()`. This
seems (by its name) like it would convert its argument to an absolute
path. But in fact it simply prepends the path with
`resourceProvider.pathContext.current`, which is `.`, and this causes
Source objects to be created referring to non-canonical paths.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/8219e27009bedab4a9acf0a4b4b0903a7b1148c9
Patch Set 1 #
Total comments: 2
Messages
Total messages: 6 (2 generated)
|