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
Constructors of Literal types, as well of methods in Expressions utility class that construct literals use parameter name terms (of type some collection/array of Term objects) to refer to the literal arguments. This makes it tempting for the user to call getTerms() (which returns the set of terms used as arguments) instead of getArgumets() (the actual list of argument terms the literal was constructed with).
It would be useful to rename terms parameter to arguments in all these constructor methods.
The text was updated successfully, but these errors were encountered:
Constructors of
Literal
types, as well of methods inExpressions
utility class that construct literals use parameter nameterms
(of type some collection/array ofTerm
objects) to refer to the literal arguments. This makes it tempting for the user to callgetTerms()
(which returns the set of terms used as arguments) instead ofgetArgumets()
(the actual list of argument terms the literal was constructed with).It would be useful to rename
terms
parameter toarguments
in all these constructor methods.The text was updated successfully, but these errors were encountered: