1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-08-13 19:52:52 +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

@@ -15,11 +15,11 @@ func NewRangeOperator(
left core.Expression,
right core.Expression,
) (*RangeOperator, error) {
if core.IsNil(left) {
if left == nil {
return nil, core.Error(core.ErrMissedArgument, "left expression")
}
if core.IsNil(right) {
if right == nil {
return nil, core.Error(core.ErrMissedArgument, "right expression")
}