Fix non-public methods with wide output (#4364)

This commit is contained in:
Ryszard Rozak
2023-07-25 04:55:58 -04:00
committed by GitHub
parent edc0a0e982
commit 3ff608b9cb
3 changed files with 56 additions and 1 deletions
+1 -1
View File
@@ -1114,7 +1114,7 @@ private:
"other than a single 'logic' (IEEE 1800-2017 35.5.5)");
}
}
} else {
} else if (nodep->taskPublic()) {
if (portp->isWide()) {
nodep->v3warn(E_UNSUPPORTED,
"Unsupported: Public functions with return > 64 bits wide.\n"