Fix metric expressions with `@return` by jpbempel · Pull Request #10178 · DataDog/dd-trace-java
When compiling the metric expression using @return synthetic variable, the type of @return was not propagated correctly and the generic Object type was used instead which prevent to call length() when this is a String. Fix also reporting errors as ProbeSatus by returning Error status when instrumenting.
jpbempel
changed the title
Fix metric expressions with @return
Fix metric expressions with @return
jpbempel
deleted the
jpbempel/fix-return-metric
branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters