-
Notifications
You must be signed in to change notification settings - Fork 75
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
marshal: null should not be accepted in place of Object.prototype #1324
Comments
1 task
gibson042
added a commit
that referenced
this issue
Oct 13, 2022
gibson042
added a commit
that referenced
this issue
Oct 13, 2022
gibson042
added a commit
that referenced
this issue
Oct 14, 2022
gibson042
added a commit
that referenced
this issue
Oct 20, 2022
gibson042
added a commit
that referenced
this issue
Oct 20, 2022
gibson042
added a commit
that referenced
this issue
Oct 20, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Per #1313 (comment) , a
null
prototype is not pass-invariant—a marshal–unmarshal round-trip will convert it intoObject.prototype
. Accordingly, acceptance of anull
prototype should be removed from copyRecord until and unless there is a clear need, at which point it should also be added to tagged record/pseudo-promise/etc.The text was updated successfully, but these errors were encountered: