You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are automatically widening numbers from Integer to Long and Float
to Double to be able to compare them. But used as key for maps it does
not work because the type needs to be exact.
For fixing this we are moving to widening then numbers only at
comparison time. Otherwise we keep the original typing.
Copy file name to clipboardExpand all lines: dd-java-agent/agent-debugger/debugger-el/src/main/java/com/datadog/debugger/el/expressions/ComparisonOperator.java
+4-4
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,8 @@ public enum ComparisonOperator {
Copy file name to clipboardExpand all lines: dd-java-agent/agent-debugger/debugger-el/src/test/java/com/datadog/debugger/el/expressions/ComparisonExpressionTest.java
Copy file name to clipboardExpand all lines: dd-java-agent/agent-debugger/debugger-el/src/test/java/com/datadog/debugger/el/expressions/LenExpressionTest.java
Copy file name to clipboardExpand all lines: dd-java-agent/agent-debugger/debugger-el/src/test/java/com/datadog/debugger/el/expressions/ValueRefExpressionTest.java
Copy file name to clipboardExpand all lines: dd-java-agent/agent-debugger/debugger-el/src/test/java/com/datadog/debugger/el/values/NumericValueTest.java
0 commit comments