enigma icon indicating copy to clipboard operation
enigma copied to clipboard

Some method parameters are incorrectly marked as mappable

Open PiTheGuy opened this issue 1 year ago • 2 comments

Consider the following class: image This shows as completely unmapped (0/4) on the side panel and reports 4 unmapped parameters in the stats tree,

After some investigation, I found the record's <init> and equals methods are considered unmapped and count towards the total, despite being unmappable and completely hidden from the user.

This is the same issue as https://github.com/FabricMC/Enigma/issues/502 except it no longer affects enums.

PiTheGuy avatar Jun 23 '24 20:06 PiTheGuy

I've started looking into this, and I'm still not sure why it happens. Next I need to set up a minimal reproduction case.

ix0rai avatar Jun 24 '24 13:06 ix0rai

little update I'm trying to fix up records in general with this, as they're quite broken. fix will be delayed a while

ix0rai avatar Jun 26 '24 02:06 ix0rai