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

Fix compiler error on import cycles #3171

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

janmasrovira
Copy link
Collaborator

The strongly connected components given in this function are not guaranteed to give a cycle in the order they are given. I've fixed that

@janmasrovira janmasrovira self-assigned this Nov 13, 2024
@janmasrovira janmasrovira linked an issue Nov 13, 2024 that may be closed by this pull request
@janmasrovira janmasrovira changed the title Fixes compiler error on import cycles Fix compiler error on import cycles Nov 13, 2024
@janmasrovira janmasrovira marked this pull request as ready for review November 13, 2024 17:59
@janmasrovira janmasrovira force-pushed the 3161-weird-compiler-error-on-import-cycles branch 2 times, most recently from 2a56e3b to a858692 Compare November 14, 2024 08:10
@paulcadman paulcadman added this to the 0.6.9 milestone Nov 14, 2024
@paulcadman
Copy link
Collaborator

Is it possible to add a test, perhaps based on the example in the bug report, that is fixed by this PR?

@janmasrovira
Copy link
Collaborator Author

It took me a while but I finally pruned it down to a (local) minimal test. I say local because removing any single file results in the crash not showing, but there might be another way of organizing files that results in a smaller test.

paulcadman
paulcadman previously approved these changes Nov 14, 2024
@janmasrovira janmasrovira force-pushed the 3161-weird-compiler-error-on-import-cycles branch from 221862e to 2c30118 Compare November 14, 2024 17:54
@janmasrovira janmasrovira merged commit 1d7bf1f into main Nov 15, 2024
4 checks passed
@janmasrovira janmasrovira deleted the 3161-weird-compiler-error-on-import-cycles branch November 15, 2024 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Weird Compiler Error on Import Cycles
2 participants