rohd icon indicating copy to clipboard operation
rohd copied to clipboard

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

Open sshankar4 opened this issue 1 year ago • 0 comments
trafficstars

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 avatar Jun 06 '24 18:06 sshankar4