Skip to content

Conversation

jcollins-g
Copy link
Contributor

This is a mechanical translation to using the features of the Memoizer (#1571) for the repetitive caching in model.dart.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Dec 22, 2017
}
} else {
_canonicalLibrary = definingLibrary;
if (candidateLibraries.isNotEmpty)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

braces?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@jcollins-g jcollins-g merged commit be310b8 into master Jan 5, 2018
@jcollins-g jcollins-g deleted the memoize-all-the-things branch January 5, 2018 17:54
jcollins-g added a commit that referenced this pull request Jan 12, 2018
jcollins-g added a commit that referenced this pull request Jan 12, 2018
* Revert "Use the Memoizer class in place of ad-hoc caching in model.dart (#1577)"

This reverts commit be310b8.

* Merge error broke canonicalModelElement, fixed

* dartfmt

* Pin travis to 16 too
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants