-
Notifications
You must be signed in to change notification settings - Fork 193
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
The bool
type is neither a host-shareable nor an interface type.
#912
Conversation
Actually, it might be best to combine this with a fix for |
7d6aeaa
to
b656291
Compare
Can we merge this? |
It's probably worth re-reviewing, since it's so old. |
I can re-review it but I think it needs to be rebased first. |
b656291
to
53428b9
Compare
53428b9
to
256231d
Compare
The macro can check for both success and failure, so the new name is more accurate, and shorter.
The new `check_one_validation` macro permits the source code to be a computed expression, not just a string literal. This also cleans up some of the handling of the optional guard expression.
256231d
to
9509d52
Compare
This has some renames and some refactoring, so it's probably easiest to review commit-by-commit. Each commit should pass CI individually, so it's not necessary to squash before merging. |
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.
Looks good but the title indicates that the PR will also remove bool
s from being HOST_SHAREABLE
.
Only numeric scalars and vectors, and structs whose members are such values, are permitted as the types of user-defined IO.
9509d52
to
0f1f7b0
Compare
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.
Looks great!
However,
bool
is permitted for built-ins.