-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
range map-broadcast inconsistency #54364
Comments
Both of these functions have a rather wide interface, so the inconsistency doesn't violate any requirement of their specification afaict. It would be nice if they guaranteed the output type match the input type, but that's rather out of reach in 1.x I think. #32081 |
Sure, same as Julia inferring anything as Any. However, this is still an inconsistency, quite an unintuitive one: there's no single answer to what has a better "chance" of preserving a range, |
For general |
Totally, I agree with you here. But here we are working with the current situation. This special-casing exists in Julia already, as seen from the examples above. |
Not sure which behavior is intended, but it could use more consistency I guess.
The text was updated successfully, but these errors were encountered: