mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-26 20:10:45 +00:00
Fixed #1888 Casts in binary operations, not casting any type
This commit is contained in:
@@ -102,7 +102,7 @@ public class TernarOpItem extends GraphTargetItem {
|
||||
&& (onFalse.returnType().equals(TypeItem.NUMBER) || onFalse.returnType().equals(TypeItem.INT) || onFalse.returnType().equals(TypeItem.UINT))) {
|
||||
return TypeItem.NUMBER;
|
||||
}
|
||||
return TypeItem.UNBOUNDED;
|
||||
return TypeItem.UNKNOWN;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -50,4 +50,4 @@ public class UnboundedTypeItem extends AVM2Item {
|
||||
public boolean hasReturnValue() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user