-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
resolve: allow if/for/while statements at toplevel
These constructs are still disallowed in the Bazel build language, but it is easy to check for them as a separate pass over the syntax tree, so there is no need to complicate the spec with this restriction, which is a nuisance in other dialects. Clients that set the -globalreassign flag to suppress the check need do so no longer. Change-Id: I39ddb2128e6151a878a884fdb84d7017df2d5d51
- Loading branch information
Showing
3 changed files
with
14 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters