Support class parameters (#2231) (#3541)

This commit is contained in:
Arkadiusz Kozdra
2022-08-28 10:24:55 -04:00
committed by GitHub
parent 2358ced061
commit 0a3a15a66e
27 changed files with 449 additions and 211 deletions
+1 -1
View File
@@ -86,7 +86,7 @@ static void makeToStringMiddle(AstClass* nodep) {
}
}
}
if (nodep->extendsp() && nodep->extendsp()->classp()->user1()) {
if (nodep->extendsp()) {
string stmt = "out += ";
if (!comma.empty()) stmt += "\", \"+ ";
// comma = ", "; // Nothing further so not needed