fix: add uid to microWacc Ident
This commit is contained in:
		| @@ -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 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user