Skip to content

Commit

Permalink
Revert hardcoding cast
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbey committed Nov 23, 2024
1 parent c39d5c1 commit 0fa1690
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -782,7 +782,7 @@ else if ("letFunction".equals(function))
}
else if ("cast".equals(function))
{
return possiblyAddParenthesis(parameters.get(0), this) + "->cast(@" + parameters.get(1).accept(this) + ")";
return possiblyAddParenthesis(parameters.get(0), this) + "->" + _function + "(@" + parameters.get(1).accept(this) + ")";
}
else if ("subType".equals(function))
{
Expand Down

0 comments on commit 0fa1690

Please sign in to comment.