TypeVar and virtual support in Symbol Resolver #99

Merged
sb10q merged 12 commits from symbol_resolver_typevar into master 2021-12-01 22:44:53 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 66a9eda3c1 - Show all commits

View File

@ -97,7 +97,7 @@ fn main() {
); );
internal_resolver.add_id_type( internal_resolver.add_id_type(
if let ExprKind::Name { id, .. } = &targets[0].node { *id } else { if let ExprKind::Name { id, .. } = &targets[0].node { *id } else {
panic!("must assign simple name variable as type variable for now") panic!("must assign simple name variable as type variable")
}, },
res_ty res_ty
); );