Skip to content

incompatible_static_name_resolution_in_build_files #8022

@laurentlb

Description

@laurentlb

Tracking issue for the implementation of https://github.com/bazelbuild/proposals/blob/master/designs/2018-06-18-name-resolution.md in BUILD files.

This will align the semantics of BUILD files with the semantics of bzl files and bring more consistency. This will also help simplify our code and implement performance optimizations in the future.

This will fix a bug where this code was allowed:

[nonexistent for x in []]

When the flag is enabled, this will be an error (nonexistent is not defined), even though the expression is not evaluated as the list is empty.

Metadata

Metadata

Assignees

Labels

P1I'll work on this now. (Assignee required)incompatible-changeIncompatible/breaking change

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions