DEBUGGING
This commit is contained in:
parent
95e95d735e
commit
340b613de6
1 changed files with 2 additions and 0 deletions
|
@ -85,11 +85,13 @@ impl ConjoiningClauses {
|
||||||
bail!(ErrorKind::InvalidArgument(predicate.operator.clone(), "numeric or instant", 0));
|
bail!(ErrorKind::InvalidArgument(predicate.operator.clone(), "numeric or instant", 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
println!("Left types: {:?}.", left_types);
|
||||||
let mut right_types = self.potential_types(schema, &right)?
|
let mut right_types = self.potential_types(schema, &right)?
|
||||||
.intersection(&supported_types);
|
.intersection(&supported_types);
|
||||||
if right_types.is_empty() {
|
if right_types.is_empty() {
|
||||||
bail!(ErrorKind::InvalidArgument(predicate.operator.clone(), "numeric or instant", 1));
|
bail!(ErrorKind::InvalidArgument(predicate.operator.clone(), "numeric or instant", 1));
|
||||||
}
|
}
|
||||||
|
println!("Right types: {:?}.", right_types);
|
||||||
|
|
||||||
// We would like to allow longs to compare to doubles.
|
// We would like to allow longs to compare to doubles.
|
||||||
// Do this by expanding the type sets. `resolve_numeric_argument` will
|
// Do this by expanding the type sets. `resolve_numeric_argument` will
|
||||||
|
|
Loading…
Reference in a new issue