KotlinIsland / KotlinIsland/basedmypy
support `basedtyping.generic` functions
Open
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
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