Walrus operator causes no overload match for str.join
in dataclass
#9659
Labels
bug
Something isn't working
str.join
in dataclass
#9659
Describe the bug
Pyright reports an error when a walrus operator is used while passing a variable to
str.join
and then to a dataclass.The error is:
No overloads for "join" match the provided arguments
.Code or Screenshots
Similar code with no error
VS Code extension or command-line
Error detected in VS Code by Pylance. Pylance version is
2024.12.1
.Also, the error is replicated in pyright playground for version
1.1.391
.The text was updated successfully, but these errors were encountered: