Chromium Code Reviews
DescriptionAvoid duplicate effort in _getElementReferenceId
We were going to extra effort to find the compilation unit containing
[element], but it was always the immediately enclosing element.
This CL rearranges the code so that there's no duplicate effort and so
that it's clear from the flow control that the immediately enclosing
element is the compilation unit.
R=scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/371cd6efcf7924b75d6ca1cd5287f43aa0136ae7
Patch Set 1 #
Messages
Total messages: 5 (2 generated)
|
|||||||||||||||||||