Use ConstArg instead of Expr for AstId of InTypeConstId

This commit is contained in:
hkalbasi 2023-06-08 23:47:45 +03:30
parent d9136df9e5
commit f8594f78bb
13 changed files with 29 additions and 28 deletions

View file

@ -98,7 +98,7 @@ impl AstIdMap {
|| ast::Variant::can_cast(kind)
|| ast::RecordField::can_cast(kind)
|| ast::TupleField::can_cast(kind)
|| ast::Expr::can_cast(kind)
|| ast::ConstArg::can_cast(kind)
{
res.alloc(&it);
true