fix: polymorphic type spec instantiation bugs

This commit is contained in:
Shunsuke Shibayama 2024-03-13 22:35:08 +09:00
parent e38674945b
commit 74e89f6d5b
11 changed files with 555 additions and 182 deletions

View file

@ -2921,9 +2921,9 @@ impl ConstKwArg {
#[pyclass]
#[derive(Clone, Debug, PartialEq, Eq, Hash)]
pub struct ConstArgs {
pos_args: Vec<ConstPosArg>,
pub pos_args: Vec<ConstPosArg>,
pub var_args: Option<Box<ConstPosArg>>,
kw_args: Vec<ConstKwArg>,
pub kw_args: Vec<ConstKwArg>,
pub kw_var: Option<Box<ConstPosArg>>,
paren: Option<(Token, Token)>,
}