We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a8ae1f commit e05a3daCopy full SHA for e05a3da
crates/red_knot_python_semantic/src/types.rs
@@ -4582,6 +4582,11 @@ impl<'db> GeneralCallableType<'db> {
4582
4583
match next_parameter {
4584
EitherOrBoth::Left(self_parameter) => match self_parameter.kind() {
4585
+ ParameterKind::KeywordOnly { .. } | ParameterKind::KeywordVariadic { .. }
4586
+ if !other_keywords.is_empty() =>
4587
+ {
4588
+ break;
4589
+ }
4590
ParameterKind::PositionalOnly { default_type, .. }
4591
| ParameterKind::PositionalOrKeyword { default_type, .. }
4592
| ParameterKind::KeywordOnly { default_type, .. } => {
0 commit comments