hdl.ast: fix src_loc_at for Mux().

This commit is contained in:
whitequark 2019-07-03 15:25:14 +00:00
parent b471e33d7f
commit e351e27206

View file

@ -390,7 +390,7 @@ def Mux(sel, val1, val0):
Value, out
Output ``Value``. If ``sel`` is asserted, the Mux returns ``val1``, else ``val0``.
"""
return Operator("m", [sel, val1, val0], src_loc_at=1)
return Operator("m", [sel, val1, val0])
@final