Skip to content

Commit

Permalink
fixup! [red-knot] feat: introduce a new [Type::Todo] variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Slyces committed Sep 29, 2024
1 parent d620d0e commit c261dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/red_knot_python_semantic/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ impl<'db> Type<'db> {
// TODO raise error
Type::Todo
}
Type::BooleanLiteral(_) => Type::Unknown,
Type::BooleanLiteral(_) => Type::Todo,
Type::StringLiteral(_) => {
// TODO defer to `typing.LiteralString`/`builtins.str` methods
// from typeshed's stubs
Expand Down

0 comments on commit c261dc8

Please sign in to comment.