-
Notifications
You must be signed in to change notification settings - Fork 148
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
map is overwritten for non-StaticArrays. #282
Comments
Thanks. We'll need to dream up a workaround for this little "hack" to express such a set of types. For anyone finding this (and issues like this): It's likely that at some point it will become too difficult to target both v0.6 and v0.7. Given Julia changes like JuliaLang/julia#23168 I'm very tempted to just say "StaticArrays should not be considered as suitable for "real work" on v0.7 until much closer to to the release time". I feel |
Hmm, this is unfortunate, though it was always a bit of a hack relying on this peculiarity. The really nasty thing IIRC was if you try to do this in another way (by directly writing out various function signatures), the number of ambiguities quickly explodes in your face. Another option might be to refactor the |
Fixed by #296. (Although the new behavior---only intercept |
OK, let's just close this since the OP seems to be resolved - there are always many things which can be improved further in StaticArrays :) |
The problematic lines are
StaticArrays.jl/src/mapreduce.jl
Lines 9 to 11 in 7276787
This is on
The text was updated successfully, but these errors were encountered: