Skip to content

Commit

Permalink
Clarify that predeclared names can be redefined in the code.
Browse files Browse the repository at this point in the history
Fix #282
  • Loading branch information
laurentlb committed Jul 31, 2024
1 parent 83dd277 commit 5957608
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -1363,7 +1363,8 @@ An application may pre-declare additional names
to provide domain-specific functions to that file, for example.
These additional functions may have side effects on the application.
Starlark programs cannot change the set of predeclared bindings
or assign new values to them.
or assign new values to them (but they can be redefined in a
smaller block).

Nested beneath the predeclared block is the _module_ block,
which contains the bindings of the current module.
Expand Down

0 comments on commit 5957608

Please sign in to comment.