fix: add uid to microWacc Ident

This commit is contained in:
2025-02-14 00:35:48 +00:00
parent 6a6aadbbeb
commit bc25f914ad

View File

@@ -15,7 +15,7 @@ object microWacc {
case class CharLiter(v: Char) extends Expr(KnownType.Char)
case class ArrayLiter(elems: List[Expr])(ty: SemType) extends Expr(ty)
case class NullLiter()(ty: SemType) extends Expr(ty)
case class Ident(name: String)(identTy: SemType)
case class Ident(name: String, uid: Int)(identTy: SemType)
extends Expr(identTy)
with CallTarget(identTy)
with LValue