-
Notifications
You must be signed in to change notification settings - Fork 21
Rebased PR #99 #102
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
Rebased PR #99 #102
Conversation
It is confusing that `constructorof` is documented as returning the constructor of `T`, which is normally defined to be `T`, and then typically does not return `T`, and so does not usually construct `T`. However, this PR is intended just to remove the undefined behavior here of using an unsound generated function (examining mutable state with getfield).
IMO:
|
I suppose this should be OK to merge now. The failing Accessors test certainly seems like something that would be flaky (speed measurement, approximate floating point comparison), while the others also fail in empty PR #103. |
We can drop old Julia versions. I reran the Accessors/pre benchmark a few times and the error persisted. So I don't think it is just noise but a real regression. However, it is not a super important regression that necessarily blocks this PR. |
The Accessors/pre benchmark failure reproduces without this PR on v1.12.0-beta4. |
Dropping pre 1.10 is fine with me |
Looks like everyone supports this PR, thank you :) Could you please remove the now-unreachable and untestable code? (all |
PR #99 rebased on top of current
master
: