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

haxe.Serializer cleanup #11864

Merged
merged 5 commits into from
Dec 11, 2024
Merged

haxe.Serializer cleanup #11864

merged 5 commits into from
Dec 11, 2024

Conversation

Simn
Copy link
Member

@Simn Simn commented Dec 10, 2024

Trying to make that file look a bit less like a warzone.

I don't really know how robust our tests are but I'm sure it's gonna be fine.

@@ -379,8 +379,6 @@ class Serializer {
}
#end
case TClass(c):
if (useCache)
cache.pop();
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know if I'm missing some really intricate detail here or if this is really just silly. Nothing seems to happen between this pop and the push operations below that could access the cache, so I don't see why this was here.

std/haxe/Serializer.hx Outdated Show resolved Hide resolved
Simn added 3 commits December 10, 2024 12:01
Surely this is better than working with straight up Dynamic...
@skial skial mentioned this pull request Dec 10, 2024
1 task
@Simn Simn merged commit 4481700 into development Dec 11, 2024
99 checks passed
@Simn Simn deleted the haxe.Serializer-cleanup branch December 11, 2024 06:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant