Chromium Code Reviews
DescriptionModify dump_inferred_types.dart to handle missing unlinked units.
In rare cases a summary package bundle may contain a LinkedLibrary
object but not its corresponding UnlinkedUnits. (This could happen, for
instance, if both a package and one of its dependencies contain
libraries that reference the same file as a "part"--in this case, the
UnlinkedUnit for the part might only be included in one of the package
bundles, because it is redundant in the other).
This CL modifies dump_inferred_types.dart so that it doesn't crash in
this rare corner case.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/09c98dc45690a63da1e5e58a90845c69e020528e
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||