KotlinIsland / KotlinIsland/basedmypy

support `basedtyping.generic` functions

Open
#606 0 comments 0 reactions 0 assignees View on GitHub
feature
Dominant language
Python
Stars
202
Forks
6
PR merge metrics
No merged PRs in 30d

Description

```py
@generic
def f(t: T) -> T: ...

reveal_type(f[object](1)) # object
```

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is identified in the issue. Start by locating how basedmypy handles generic functions and the basedtyping.generic decorator, then determine how the shown f[object](1) call should be typed. Done means the example is accepted and reveal_type reports object.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
compilers, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.