Update convert.rs

This commit is contained in:
Shunsuke Shibayama 2025-02-19 00:11:07 +09:00
parent f653c3fe16
commit 3003076cef
1 changed files with 2 additions and 0 deletions

View File

@ -1313,6 +1313,8 @@ impl ASTConverter {
let elems = ConstArgs::new(elems, None, vec![], None, None);
TypeSpec::Enum(elems)
}
// TODO: Currently, these types are simply interpreted as inner types
"Final" | "Required" | "NotRequired" | "ReadOnly" => self.convert_type_spec(args),
// TODO: distinguish from collections.abc.Callable
"Callable" => {
let mut tuple = match args {