ruff
e4aa4795 - [red-knot] Handle StringLiteral truncation (#13276)

Commit
1 year ago
[red-knot] Handle StringLiteral truncation (#13276) When a type of the form `Literal["..."]` would be constructed with too large of a string, this PR converts it to `LiteralString` instead. We also extend inference for binary operations to include the case where one of the operands is `LiteralString`. Closes #13224
Author
Parents
Loading