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

Add pattern matching instanceof #112

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

coehlrich
Copy link
Contributor

22w11a diff
1.18.2-rc1 diff

Fixes the compile error where a generic is assigned into a variable with the type StringReader here in 22w11a.

Doesn't currently support the way ecj compiles pattern matching instanceof which does the cast twice and check if the casts are the same as well as registering the generated variable in the local variable table.

@pupnewfster
Copy link
Member

Wouldn't a better solution be to rebase against upstream which in theory has had this support since early december? MinecraftForge/FernFlower@91cf425

@zml2008
Copy link
Collaborator

zml2008 commented May 24, 2022

Closing in favor of #114, thanks though!

@zml2008 zml2008 closed this May 24, 2022
@zml2008 zml2008 reopened this May 24, 2022
@zml2008 zml2008 marked this pull request as draft May 24, 2022 06:03
@SizableShrimp
Copy link
Member

This appears to be a draft because it supposedly has improvements over upstream which need to be rebased & reevaluated.

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.

4 participants