Skip to content

Commit

Permalink
Fixing additionalDescriptions typo
Browse files Browse the repository at this point in the history
  • Loading branch information
JaroslavTulach committed Mar 1, 2024
1 parent 9c9dc13 commit eb7b701
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,16 @@ public static UnresolvedConstructor build(String name) {
/**
* Marks this object as executable through the interop library.
*
* @param addionalDescriptions description of the applied arguments
* @param additionalDescriptions description of the applied arguments
* @param additionalArguments new arguments to add to the unresolved constructor
* @return always true @ExportMessage public boolean isExecutable() { return true; }
*/
public UnresolvedConstructor withArguments(
CallArgumentInfo[] addionalDescriptions, Object[] additionalArguments) {
CallArgumentInfo[] additionalDescriptions, Object[] additionalArguments) {
if (this.args == NONE) {
return new UnresolvedConstructor(this.name, addionalDescriptions, additionalArguments);
return new UnresolvedConstructor(this.name, additionalDescriptions, additionalArguments);
} else {
var newDescs = join(this.descs, addionalDescriptions);
var newDescs = join(this.descs, additionalDescriptions);
var newArgs = join(this.args, additionalArguments);
return new UnresolvedConstructor(this.name, newDescs, newArgs);
}
Expand Down

0 comments on commit eb7b701

Please sign in to comment.