Skip to content

Commit 8f0896d

Browse files
committed
Add test for combined items
1 parent 1d88d20 commit 8f0896d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parser/src/parser.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,9 @@ def func[*Ts](*a: *Ts):
688688
689689
def func[**P](*args: P.args, **kwargs: P.kwargs):
690690
...
691+
692+
def func[T, U: str, *Ts, **P]():
693+
pass
691694
";
692695
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
693696
}

0 commit comments

Comments
 (0)