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

[6.3.0] Fail on isolated extension usages without imports #18793

Merged
merged 1 commit into from
Jun 27, 2023

Commits on Jun 27, 2023

  1. Fail on isolated extension usages without imports

    Such usages have no effect and are never evaluated. Since this may not be obvious and `use_repo` fixup messages are only emitted when the extension is evaluated, fail with an error message instructing users to add a `use_repo`.
    
    Closes bazelbuild#18761.
    
    PiperOrigin-RevId: 543496257
    Change-Id: Ia4b4ece2c15e9e5a139d2a97dcc7baba1b128a70
    fmeum authored and iancha1992 committed Jun 27, 2023
    Configuration menu
    Copy the full SHA
    31f3626 View commit details
    Browse the repository at this point in the history