DetachHead
DetachHead
closing this. if you are still experiencing this issue please provide the additional info mentioned above and we can re-open
i can't reproduce that `reportUndefinedVariable` error but i do see the inlay hint error
how are the cells ordered? the cell where the class is defined must be above the cell that uses it, or it will crash at runtime
ok nvm i reproduced it. i've opened #1279 for the inlay hint crash because it's a separate issue
> Also, please note that both issues above _can_ be caught by adding a single type annotation (`a: list[int]` and `length: int` / `length: int | None`). as i said...
imo `self` should be implicitly positional only. i can't think of a case where you'd want to specify it as a keyword argument
i don't remember raising this, but i think the confustion comes from the fact that mypy is special casing `tuple`. its definition in typeshed looks like this: ```py class tuple(Sequence[_T_co]):...
this seems like an obvious bug to me though, regardless of whether fixing it would be a breaking change. does this mean a PEP would be required to change the...
fyi it looks like `TypeForm` causes a runtime error in robot as well, see https://github.com/robotframework/robotframework/issues/5393