aboutsummaryrefslogtreecommitdiff
path: root/serialize.go
diff options
context:
space:
mode:
authorFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-18 23:04:28 +0900
committerFumitoshi Ukai <fumitoshi.ukai@gmail.com>2015-06-18 23:04:28 +0900
commitdd248f268ca290abc999a8d1b4f5d24dc0317cdc (patch)
tree52c67ca5288a7c79454494d3afc02299c42dfb57 /serialize.go
parent5a374593daddc502fd0ee020de31007d173a0c87 (diff)
downloadkati-dd248f268ca290abc999a8d1b4f5d24dc0317cdc.tar.gz
split SimpleVar to SimpleVar and AutomaticVar
SimpleVar uses string, while AutomaticVar uses []byte
Diffstat (limited to 'serialize.go')
-rw-r--r--serialize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/serialize.go b/serialize.go
index 4ee0b29..fbcbed0 100644
--- a/serialize.go
+++ b/serialize.go
@@ -354,7 +354,7 @@ func DeserializeVar(sv SerializableVar) (r Value) {
case "simple":
return &SimpleVar{
- value: []byte(sv.V),
+ value: sv.V,
origin: sv.Origin,
}
case "recursive":