Skip to content

Commit f73e2d0

Browse files
committed
Add test for combined items
1 parent 7b31e72 commit f73e2d0

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
@@ -727,6 +727,9 @@ def func[*Ts](*a: *Ts):
727727
728728
def func[**P](*args: P.args, **kwargs: P.kwargs):
729729
...
730+
731+
def func[T, U: str, *Ts, **P]():
732+
pass
730733
";
731734
insta::assert_debug_snapshot!(ast::Suite::parse(source, "<test>").unwrap());
732735
}

0 commit comments

Comments
 (0)