Skip to content

Commit

Permalink
red-knot: an accurate TODO for "str literal".member lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskrycho committed Aug 26, 2024
1 parent be7773f commit d9c8743
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions crates/red_knot_python_semantic/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@ impl<'db> Type<'db> {
}
Type::BooleanLiteral(_) => Type::Unknown,
Type::StringLiteral(_) => {
// TODO fix this comment with whatever it is we should say we
// want to do in the future.
// TODO defer to Type::Instance(<str from typeshed>).member
Type::Unknown
}
Type::BytesLiteral(_) => {
Expand Down

0 comments on commit d9c8743

Please sign in to comment.