Simpler parse improvement (#3566)

This commit is contained in:
JT 2021-06-07 18:39:23 +12:00 committed by GitHub
parent 128f5bce30
commit c4dc61425d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -897,10 +897,7 @@ fn parse_arg(
// before anything else, try to see if this is a number in paranthesis
if lite_arg.item.starts_with('(') {
let (expr, err) = parse_full_column_path(&lite_arg, scope);
if err.is_none() {
return (expr, None);
}
return parse_full_column_path(&lite_arg, scope);
}
match expected_type {