Incorrect constructor parameter types when enum resugaring is disabled #383
Labels
Priority: Medium
Medium priority
regression
Used to work before, but doesn't now
Subsystem: Writing
Anything concerning how expressions are written
Type: Bug
Something isn't working
Vineflower version
vineflower-1.10.1.jar
Describe the bug
My enum:
Compiled with
Temurin-21.0.3+9
.Decompiled with vineflower-1.10.1.jar --remove-synthetic=false --decompile-enums=false
Decompiled with cfr-0.152.jar --sugarenums false
Disassembled with ASM TraceClassAdapter (ASM Bytecode Viewer plugin)
Observations:
float
as its first argument. In reality, the constructor takesString
.nullx
.WARN: Inconsistent generic signature in method <init> (Ljava/lang/String;IF)V in TestEnum
is printed to the console. This warning does not appear when decompile-enums is enabled.Additional information
Class file: TestEnum.zip
The text was updated successfully, but these errors were encountered: