nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
503e9f4
)
lib/json: remove useless types
author
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 21 May 2015 21:27:37 +0000
(17:27 -0400)
committer
Alexandre Terrasa
<alexandre@moz-code.org>
Thu, 28 May 2015 13:56:12 +0000
(09:56 -0400)
Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>
lib/json/dynamic.nit
patch
|
blob
|
history
diff --git
a/lib/json/dynamic.nit
b/lib/json/dynamic.nit
index
d0559e0
..
594aac6
100644
(file)
--- a/
lib/json/dynamic.nit
+++ b/
lib/json/dynamic.nit
@@
-131,8
+131,7
@@
class JsonValue
# assert "123".to_json_value.to_s == "123"
# assert "true".to_json_value.to_s == "true"
# assert "[1, 2, 3]".to_json_value.to_s == "123"
- redef fun to_s: String
- do
+ redef fun to_s do
if value == null then return "null"
return value.to_s
end