-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add is_null for scalar types in testcase grammar #779
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change looks good to me. Could we add a test that exercises this behavior?
Perhaps:
add(1::i8?, 2::i8?) = 3::i8?
; | ||
|
||
literalList | ||
: OBracket (literal (Comma literal)*)? CBracket | ||
; | ||
|
||
dataType | ||
: scalarType | ||
: scalarType isnull=QMark? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this mean the grammar allows the question mark to ambiguously fall in either dataType or stringArg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see the ambiguity, ?
is always associated with type.
stringArg contains StringLiteral
and stringType
with optional ?
Fix a test in bitwise_or.test
91409a6
to
75952e1
Compare
Done |
No description provided.