Fix some missing E_UNSUPPORTED errors

This commit is contained in:
Wilson Snyder
2025-09-20 08:19:42 -04:00
parent e5e7e844c4
commit f970485e19
12 changed files with 35 additions and 30 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ private:
}
const string index = AstNode::encodeNumber(constp->toSInt() + arrp->lo());
if (VN_IS(arrselp->fromp(), SliceSel))
arrselp->fromp()->v3error("Unsupported: interface slices");
arrselp->fromp()->v3warn(E_UNSUPPORTED, "Unsupported: interface slices");
const AstVarRef* const varrefp = VN_CAST(arrselp->fromp(), VarRef);
UASSERT_OBJ(varrefp, arrselp, "No interface varref under array");
AstVarXRef* const newp = new AstVarXRef{