You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I spent a good while trying to find the cause of this bug, and I finally found it. In patch 0010, there is a call to the getName method of the local variable which gets the name from the debug information without checking if the udv option is disabled, nor if it is even a valid identifier. I could PR a fix for this if you guys want, but I wasn't able to get the bytecode version in this context so I had to pass 0 to the last param of TextUtil.isValidIdentifier, not great, someone else can probably find a better solution there.
When running ForgeFlower with
-udv=0
, debug names are showing up in the output. Here are the options I'm running with:Here's a diff from vanilla FernFlower (build from a few days ago) and ForgeFlower 1.5.478.6 (06/13/20 10:44 PM):
full diff of
Level
This happens in every class
The text was updated successfully, but these errors were encountered: