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
In ThingTalk function calls, does the order of the parameter matter? e.g., are @com.slack.send(channel="general", message=title) and @com.slack.send(message=title, channel="general") the same thing?
If so, then the arrayEquals method here does not take into account this issue. This method is used to compare whether two InputParams[] (in InvocationExpression) are equal, resulting in the above two invocations being unequal.
The text was updated successfully, but these errors were encountered:
I discovered that typically optimize will deal with this. However, it's worth keeping in mind that if one just changes the Invocation AST node, this unexpected behavior could surface.
In ThingTalk function calls, does the order of the parameter matter? e.g., are
@com.slack.send(channel="general", message=title)
and@com.slack.send(message=title, channel="general")
the same thing?If so, then the
arrayEquals
method here does not take into account this issue. This method is used to compare whether twoInputParams[]
(inInvocationExpression
) are equal, resulting in the above two invocations being unequal.The text was updated successfully, but these errors were encountered: