Skip to content
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

fix: copy object including Symbols #1796

Closed
wants to merge 2 commits into from
Closed

fix: copy object including Symbols #1796

wants to merge 2 commits into from

Conversation

jaulz
Copy link

@jaulz jaulz commented Apr 26, 2019

Currently, symbols are lost as soon as they are passed into validation:
https://repl.it/repls/MediumorchidRadiantActionscript

This fix copies the object including its symbols.

@hueniverse
Copy link
Contributor

Missing a test.

@jaulz
Copy link
Author

jaulz commented Apr 26, 2019

Sure, here we go 😊 By the way I did a quick benchmark and this should even be slightly faster: http://jsben.ch/WM1g8

Edit: and it seems to be faster than copying symbols one by one:
http://jsben.ch/4uTOn

@jaulz
Copy link
Author

jaulz commented May 1, 2019

@hueniverse just let me know in case you need anything else 😊

@hueniverse hueniverse self-assigned this May 29, 2019
@hueniverse hueniverse added the bug Bug or defect label May 29, 2019
@hueniverse hueniverse added this to the 16.0.0 milestone May 29, 2019
@hueniverse hueniverse added the v16 label Aug 10, 2019
@jaulz jaulz deleted the patch-1 branch August 27, 2019 07:21
@lock
Copy link

lock bot commented Jan 9, 2020

This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants