decode bool typed properly
This commit is contained in:
parent
3e6a61bda5
commit
8754ac7343
@ -106,7 +106,7 @@ func (d *decoder) decodeBool(name string, node ast.Node, result reflect.Value) e
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
result.SetBool(v)
|
result.Set(reflect.ValueOf(v))
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user