nac3standalone: fix resolver typevar err msg

This commit is contained in:
ychenfo 2021-11-13 17:21:59 +08:00
parent e8a5843ca7
commit 66a9eda3c1
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ fn main() {
);
internal_resolver.add_id_type(
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
);