Skip to content

Type inconsistency when loading .bzl from different cells #890

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

Open
yxdai-nju opened this issue Apr 3, 2025 · 1 comment
Open

Type inconsistency when loading .bzl from different cells #890

yxdai-nju opened this issue Apr 3, 2025 · 1 comment

Comments

@yxdai-nju
Copy link
Contributor

I've created a repo (https://github.com/yxdai-nju/buck2-cross-cell-bzl-load-issue) demonstrating the problem. Loading the same .bzl from different cells seems to result in incompatible type definitions, despite having identical type names.

@cormacrelf
Copy link
Contributor

cormacrelf commented Apr 24, 2025

See also #683. This can be fixed if the fix can be applied only to OSS buck.

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

No branches or pull requests

2 participants