Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shark: make examples compile in different package #2668

Merged
merged 1 commit into from
May 20, 2024

Conversation

mhansen
Copy link
Contributor

@mhansen mhansen commented May 8, 2024

Include import statements and fix a few APIs that had drifted, and an invalid variable name.

With this change, you should be able to copy/paste the examples and run them, even if you code is not in the 'shark' package.

I've tested this locally against LeakCanary v2.14 and it compiles now.

It would be nice long-term to have these examples compiling in CI so they stay up to date, but I'm not going to attempt that now.

Towards #2610

Include import statements and fix a few APIs that had drifted, and an invalid
variable name.

I've tested this locally against LeakCanary v2.14 and it compiles now.

Towards square#2610
@CLAassistant
Copy link

CLAassistant commented May 8, 2024

CLA assistant check
All committers have signed the CLA.

@pyricau pyricau merged commit ef09e17 into square:main May 20, 2024
7 of 9 checks passed
@mhansen
Copy link
Contributor Author

mhansen commented May 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants