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

avoid cycle import a Go+ package #1657

Open
xushiwei opened this issue Jan 22, 2024 · 0 comments
Open

avoid cycle import a Go+ package #1657

xushiwei opened this issue Jan 22, 2024 · 0 comments
Labels

Comments

@xushiwei
Copy link
Member

xushiwei commented Jan 22, 2024

The following program sample.gop triggers an unexpected result

Avoid a package directly or indirectly importing itself.

Expected result

report cycle import error

Got

loop indefinitely

Gop Version

v1.2.0-pre.1

Additional Notes

No response

@xushiwei xushiwei added the bug label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant