facebook / facebook/pyrefly

support psuedo generic classes when unannnotated

Open
#1,157 2 comments 0 reactions 1 assignee Claimed by @asukaminato0721 View on GitHub
typechecking
Dominant language
Rust
Stars
7k
Forks
519
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

```py
class A:
def __init__(self, t):
self.t = t

A(1).t # expect int
```

like pyright

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.