Fix how static fields are displayed

This commit is contained in:
oakes
2014-03-31 01:18:46 -04:00
parent 1628bca0cd
commit bbbf78aa40

View File

@@ -43,8 +43,8 @@
(cond
(isa? (type d) ExecutableMemberDoc)
{:args (->> d .parameters (map parse-param) vec)}
(isa? (type d) FieldDoc)
{:args [[(-> d .type .typeName) "val"]]})))
(and (isa? (type d) FieldDoc) (not (.isStatic d)))
{:args [[(-> d .type .typeName) "value"]]})))
(defn parse-class-entry
[^ClassDoc c type]