Skip to content

Handle edge cases for eval and pass needed parameters to HeapObjectGraph. #5059

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

Merged
merged 5 commits into from
Jan 18, 2023

Conversation

polina-c
Copy link
Contributor

RELEASE_NOTE_EXCEPTION=[changes under the flag]

@polina-c polina-c requested review from bkonyi and a team as code owners January 18, 2023 02:06
return instances.instances!.first as InstanceRef;
final result = instances.instances!.first;

if (result is InstanceRef) return result;
Copy link
Contributor

Choose a reason for hiding this comment

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

In what scenario would this not be an InstanceRef? If it's only an error case, consider throwing an exception rather than having a nullable return type.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sometimes it is ClassRef

@polina-c polina-c merged commit 887f065 into flutter:master Jan 18, 2023
@polina-c polina-c deleted the browse2 branch January 18, 2023 14:05
@CoderDake CoderDake mentioned this pull request Jan 24, 2023
7 tasks
@DartDevtoolWorkflowBot DartDevtoolWorkflowBot mentioned this pull request Jan 24, 2023
7 tasks
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.

2 participants