fix: add uid to microWacc Ident
This commit is contained in:
parent
6a6aadbbeb
commit
bc25f914ad
@ -15,7 +15,7 @@ object microWacc {
|
|||||||
case class CharLiter(v: Char) extends Expr(KnownType.Char)
|
case class CharLiter(v: Char) extends Expr(KnownType.Char)
|
||||||
case class ArrayLiter(elems: List[Expr])(ty: SemType) extends Expr(ty)
|
case class ArrayLiter(elems: List[Expr])(ty: SemType) extends Expr(ty)
|
||||||
case class NullLiter()(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)
|
extends Expr(identTy)
|
||||||
with CallTarget(identTy)
|
with CallTarget(identTy)
|
||||||
with LValue
|
with LValue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user