-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Fix boxing/unboxing for Scalar bool values #53228
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
Conversation
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
💊 CI failures summary and remediationsAs of commit 0f7cf68 (more details on the Dr. CI page):
🕵️ 1 new failure recognized by patternsThe following CI failures do not appear to be due to upstream breakages:
|
ezyang
left a comment
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.
Nice catch!
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int. This PR fixes that and preserves the bool-ness. Differential Revision: [D26800346](https://our.internmc.facebook.com/intern/diff/D26800346/) [ghstack-poisoned]
|
This pull request has been merged in 35caae6. |
Stack from ghstack:
Previously, if a Scalar value contained a bool and was put into and then out of an IValue, it would magically transform to an int.
This PR fixes that and preserves the bool-ness.
Differential Revision: D26800346