kovidgoyal / kovidgoyal/rapydscript-ng

Function argument handling

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
206
Forks
45
PR merge metrics
No merged PRs in 30d

Description

The following gives no error but should say "positional argument follows keyword argument":

```
def f(a=5, b=10):
print(a,b)

f(b=3, 34, a=6)
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by running the reported function-call example and inspect the transpiler's argument-handling entry point. Confirm the expected positional-after-keyword diagnostic, then add coverage for this reproducer and verify that valid argument combinations remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, javascript, python
Domain
compilers
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.