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