MinecraftForge / ForgeFlower

Forge's modifications to FernFlower. Fixing various bugs/inconsistencies. Main Repo: https://github.com/MinecraftForge/FernFlower
Apache License 2.0
80 stars 44 forks source link

Add returning in try with resource statements along with a fix to merging try statements #132

Closed coehlrich closed 1 year ago

coehlrich commented 1 year ago

Allows for returning within a try with resources and merges more try statements that can be merged.

1.19,3 diff: https://gist.github.com/coehlrich/17eb89077b3e64b4bef9105ce0c200f8 (The seemingly missing return statement in VanillaPackResources is merged with the copy at the end of the method)