@@ -45,7 +45,8 @@ impl<T> Default for StarParams<T> {
45
45
/// The list of parameters of a function definition.
46
46
#[ derive( Clone , Debug , PartialEq , Default ) ]
47
47
pub struct TypedArgsList {
48
- pub positional_args : Vec < ( Name , Option < Expression > , Option < Expression > ) > ,
48
+ pub posonly_args : Vec < ( Name , Option < Expression > , Option < Expression > ) > ,
49
+ pub args : Vec < ( Name , Option < Expression > , Option < Expression > ) > ,
49
50
pub star_args : StarParams < ( Name , Option < Expression > ) > ,
50
51
pub keyword_args : Vec < ( Name , Option < Expression > , Option < Expression > ) > ,
51
52
pub star_kwargs : Option < ( Name , Option < Expression > ) > ,
@@ -54,7 +55,8 @@ pub struct TypedArgsList {
54
55
/// The list of parameters of a lambda definition.
55
56
#[ derive( Clone , Debug , PartialEq , Default ) ]
56
57
pub struct UntypedArgsList {
57
- pub positional_args : Vec < ( Name , Option < Expression > ) > ,
58
+ pub posonly_args : Vec < ( Name , Option < Expression > ) > ,
59
+ pub args : Vec < ( Name , Option < Expression > ) > ,
58
60
pub star_args : StarParams < Name > ,
59
61
pub keyword_args : Vec < ( Name , Option < Expression > ) > ,
60
62
pub star_kwargs : Option < Name > ,
0 commit comments