aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib
diff options
context:
space:
mode:
authorGravatar Laurent Le Brun <laurentlb@google.com>2015-05-08 11:59:42 +0000
committerGravatar Han-Wen Nienhuys <hanwen@google.com>2015-05-08 17:00:44 +0000
commitc6281bdb89a37292f0a2bee17288d807fad4c996 (patch)
tree13be34a1d444848fcf7ea2912e5f5112f431911f /src/main/java/com/google/devtools/build/lib
parent5058e37c83716dc7f5f70fd7d86dee44821b241e (diff)
Skylark: type of None is NoneType (instead of None), for consistency with Python.
-- MOS_MIGRATED_REVID=93120393
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
-rw-r--r--src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java b/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java
index ca73ea4455..bdc0fb625e 100644
--- a/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java
+++ b/src/main/java/com/google/devtools/build/lib/syntax/EvalUtils.java
@@ -273,7 +273,7 @@ public abstract class EvalUtils {
} else if (c.equals(Boolean.class)) {
return "bool";
} else if (c.equals(Void.TYPE) || c.equals(Environment.NoneType.class)) {
- return "None";
+ return "NoneType";
} else if (List.class.isAssignableFrom(c)) {
// NB: the capital here is a subtle way to distinguish java Tuple and java List
// from native SkylarkList tuple and list.