Skip to content

Commit

Permalink
Fix stub problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Saveliy Grigoryev authored and ladisgin committed Dec 3, 2021
1 parent d475896 commit 700241e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/printers/Printer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ namespace printer {
methodCopy.name = method.name;

string stubSymbolicVarName = getStubSymbolicVarName(method.name);
if (!types::TypesHandler::isVoid(method.returnType)) {
if (!types::TypesHandler::omitMakeSymbolic(method.returnType)) {
strDeclareArrayVar(types::Type::createArray(method.returnType), stubSymbolicVarName,
types::PointerUsage::PARAMETER);
}
Expand Down

0 comments on commit 700241e

Please sign in to comment.