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

Buggy Assertion that tends to check for submodule contained in a module #488

Open
sshankar4 opened this issue Jun 6, 2024 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@sshankar4
Copy link
Contributor

Describe the bug

The assertion is:
if (receiver.parentModule != module &&
!module.subModules.contains(receiver.parentModule)) {
// This should never happen!
assert(false, 'Receiver is not in this module or a submodule.');
continue;
}
This fails for modules that are optimized out and receiver that is also optimized out.

image

To Reproduce

Use a bunch of subset connections in the hierarchy

Expected behavior

No response

Actual behavior

No response

Additional: Dart SDK info

Dart SDK version: 3.3.3 (stable) (None) on "linux_x64"

Additional: pubspec.yaml

No response

Additional: Context

No response

@sshankar4 sshankar4 added the bug Something isn't working label Jun 6, 2024
@mkorbel1 mkorbel1 self-assigned this Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants