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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user