Skip to content

Commit

Permalink
Throw UnsupportedOperationException for named arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Oct 6, 2023
1 parent 390d891 commit 94f6d45
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -850,6 +850,8 @@ public J visitAnnotationEntry(@NotNull KtAnnotationEntry annotationEntry, Execut
public J visitArgument(KtValueArgument argument, ExecutionContext data) {
if (argument.getArgumentExpression() == null) {
throw new UnsupportedOperationException("TODO");
} else if (argument.isNamed()) {
throw new UnsupportedOperationException("TODO");
}

return argument.getArgumentExpression().accept(this, data);
Expand Down

0 comments on commit 94f6d45

Please sign in to comment.