stitch icon indicating copy to clipboard operation
stitch copied to clipboard

generateIntermediary: Names Not Generated For Fields With Length Greater Than 2

Open gudenau opened this issue 3 years ago • 2 comments

I found this when generating mappings for an obfuscated jar that uses "banned" names such as float, false or COM1. These longer names are getting skipped and passed though normally.

The culprit appears to be here: https://github.com/FabricMC/stitch/blob/0abaedb727630b679224667f3cc8950428db8f7d/src/main/java/net/fabricmc/stitch/commands/GenState.java#L127-L129

gudenau avatar Aug 17 '22 21:08 gudenau

#34 could help with this I think

Juuxel avatar Aug 17 '22 21:08 Juuxel

It would appear as though that accidentally solves this, hopefully that can be pulled soon.

gudenau avatar Aug 17 '22 22:08 gudenau