ITADN

wrong inlay hint for paramspec

#1773OpenKotlinIsland 创建于 2026-04-10
language serverLSP: inlay hints
K
KotlinIslandcommented
### Description Code sample in [basedpyright playground](https://basedpyright.com/?typeCheckingMode=all&reportUnannotatedClassAttribute=false&code=GYJw9gtgBALgngBwJYDsDmUkQWEMoDCYKAxgIYwCmKFlAUAyQDZkDOrUAggNoBUvABQC6ALjpQJUACaVgUYAApWlJsACUUALQA%2BLtyKlaNKt1QwANFGGioAOnsM6ADygBePdyFCFa24rUMQA) ```python from typing import Concatenate class A[**P]: def f(self) -> A[Concatenate[int, P]]: ... x = A[[]]().f() ``` <img width="199" height="81" alt="Image" src="https://github.com/user-attachments/assets/e1a2155b-60d0-4b8a-8577-1d3f85d4784c" />
2 条评论