Commit 9d08da5
Do not replace CInstance types with pyrefly types
Summary: If the base type binder has produced a primitive type, it is more specific than the pyrefly-generated type and should not be replaced.
Reviewed By: DinoV, alexmalyshev
Differential Revision: D96394235
fbshipit-source-id: 43ad6086d3cc90a4817b6e780e9807fabc9b353c1 parent fabd337 commit 9d08da5
1 file changed
Lines changed: 8 additions & 1 deletion
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
49 | 56 | | |
50 | 57 | | |
51 | 58 | | |
| |||
0 commit comments