1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-25 22:01:39 +02:00

Bug/#142 clauses and statements (#148)

This commit is contained in:
Tim Voronov
2018-10-28 01:45:26 -04:00
committed by GitHub
parent e6fd33ac1d
commit 3472630e6f
72 changed files with 2828 additions and 2185 deletions

View File

@@ -206,7 +206,7 @@ func (t *Object) GetIn(path []core.Value) (core.Value, error) {
}
func (t *Object) Set(key String, value core.Value) {
if core.IsNil(value) == false {
if value != nil {
t.value[string(key)] = value
} else {
t.value[string(key)] = None