Vineflower drops generics that are needed later down a method chain #397
Labels
Priority: Medium
Medium priority
Subsystem: Generics
Anything concerning how generics are decompiled
Type: Bug
Something isn't working
Vineflower version
1.10.1
Describe the bug
Vineflower sometimes deletes generics that make a call chain legal. Example:
The following (compiled with
Temurin-21.0.3+9
):decompiles to:
which is not legal as
orElse
doesn't allow changing the type.Additional information
A similar case happens in minecraft in
net.minecraft.commands.arguments.item.ItemInput.getItemName
(mojmap).The text was updated successfully, but these errors were encountered: