Skip to content

Commit

Permalink
fixes #1866 better
Browse files Browse the repository at this point in the history
  • Loading branch information
jurgenvinju committed Sep 25, 2023
1 parent d3548dd commit 8315fbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public Result<IValue> computeDefaultKeywordParameter(String label, IConstructor
if (!res.getType().isSubtypeOf(kwType)) {
throw new UnexpectedKeywordArgumentType(kwparam, kwType, res.getType(), ctx.getCurrentAST());
}
kwResult = ResultFactory.makeResult(kwType, value, ctx);
kwResult = ResultFactory.makeResult(kwType, res, ctx);
}

if (kwparam.equals(label)) {
Expand Down

0 comments on commit 8315fbc

Please sign in to comment.