Skip to content

Commit c318277

Browse files
cirrasfourls
authored andcommitted
Eliminate always-true condition in isCurrencyCompConflict
1 parent c82bcd8 commit c318277

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

delphi-frontend/src/main/java/au/com/integradev/delphi/symbol/resolve/InvocationResolver.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,6 @@ private static int compareRealSize(Type a, Type b) {
563563
private static boolean isCurrencyCompConflict(Type currencyComp, Type real) {
564564
currencyComp = TypeUtils.findBaseType(currencyComp);
565565
return (currencyComp.is(IntrinsicType.CURRENCY) || currencyComp.is(IntrinsicType.COMP))
566-
&& real.isReal()
567566
&& currencyComp.size() >= real.size();
568567
}
569568

0 commit comments

Comments
 (0)