aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/syntax
diff options
context:
space:
mode:
authorGravatar laurentlb <laurentlb@google.com>2018-06-08 05:16:28 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-06-08 05:17:42 -0700
commitd983ce12b5eebc26abc44766e81939d96fe97bf5 (patch)
tree626981304c4f68152ae20f867d129f0016837133 /src/main/java/com/google/devtools/build/lib/syntax
parent513bbf53549634031452d79d0ffa6dddb4e2036f (diff)
Update documentation about dict iteration order
The information was redundant. https://github.com/bazelbuild/bazel/commit/d605a62eb9908fe44c89a2ed10f88f633c4dcb3e modified only one place, which created a contradiction. We can just remove the outdated one. #5352 RELNOTES: None. PiperOrigin-RevId: 199780557
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/syntax')
-rw-r--r--src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java b/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java
index 7ab54a1abd..856c262e49 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/MethodLibrary.java
@@ -516,9 +516,7 @@ public class MethodLibrary {
+ "argument and an optional set of keyword arguments. In the case where the same key "
+ "is given multiple times, the last value will be used. Entries supplied via keyword "
+ "arguments are considered to come after entries supplied via the positional "
- + "argument. Note that the iteration order for dictionaries is deterministic but "
- + "unspecified, and not necessarily related to the order in which keys are given to "
- + "this function.",
+ + "argument.",
parameters = {
@Param(
name = "args",