diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2014-11-06 13:58:18 -0330 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2014-11-06 13:58:18 -0330 |
commit | df64327b4dba61a9c8120e4fc961b9773cd9b3fd (patch) | |
tree | 1a02b577349a3c3a69d947bddaca185a6df601d1 /cpp/src/slice2cs | |
parent | Do not include any .iml files in demo distribution (diff) | |
download | ice-df64327b4dba61a9c8120e4fc961b9773cd9b3fd.tar.bz2 ice-df64327b4dba61a9c8120e4fc961b9773cd9b3fd.tar.xz ice-df64327b4dba61a9c8120e4fc961b9773cd9b3fd.zip |
ICE-5844 bad C# code generated for interface that inherits method with optional return value
Diffstat (limited to 'cpp/src/slice2cs')
-rw-r--r-- | cpp/src/slice2cs/Gen.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/slice2cs/Gen.cpp b/cpp/src/slice2cs/Gen.cpp index f51b5a0aa1c..1e8f84af2ca 100644 --- a/cpp/src/slice2cs/Gen.cpp +++ b/cpp/src/slice2cs/Gen.cpp @@ -626,7 +626,7 @@ Slice::CsVisitor::writeInheritedOperations(const ClassDefPtr& p) { vector<string> params = getParams(*op); vector<string> args = getArgs(*op); - string retS = typeToString((*op)->returnType()); + string retS = typeToString((*op)->returnType(), (*op)->returnIsOptional()); _out << sp << nl << "public " << retS << ' ' << name << spar << params << epar; _out << sb; |