Chromium Code Reviews
DescriptionImplement TypeParameterElementForLink.location.
This is needed because when comparing function types for equality, we
sometimes substitute in a fresh TypeParameterTypeImpl (see
FunctionTypeImpl.operator==()). This means that we will sometimes be
doing equality comparisons between TypeParameterTypeImpl and
TypeParameterElementForLink. TypeParameterTypeImpl.operator==() uses
Element.location to do the comparison.
R=brianwilkerson@google.com, scheglov@google.com
Committed: https://github.com/dart-lang/sdk/commit/eb6a8fda627ca9b22ca61c13a768ea3b41ed5396
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|
||||||||||||||||||||||||||||