From 005998b0fe3bcc3fb4e4a850b49164c4e19eb441 Mon Sep 17 00:00:00 2001 From: Bernard Normier Date: Thu, 26 Jun 2014 20:54:48 +0000 Subject: Fix for ICE-5515 (ice_staticId on proxies) in Java, C#, Python, Ruby and PHP (not complete in Python, Ruby and PHP) --- cpp/src/Slice/RubyUtil.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/src/Slice/RubyUtil.cpp') diff --git a/cpp/src/Slice/RubyUtil.cpp b/cpp/src/Slice/RubyUtil.cpp index a93af8ec9fd..79a8185d2f4 100644 --- a/cpp/src/Slice/RubyUtil.cpp +++ b/cpp/src/Slice/RubyUtil.cpp @@ -581,6 +581,12 @@ Slice::Ruby::CodeVisitor::visitClassDefStart(const ClassDefPtr& p) _out.dec(); _out << nl << "end"; + _out << nl << "def " << name << "Prx.ice_staticId()"; + _out.inc(); + _out << nl << "'" << scoped << "'"; + _out.dec(); + _out << nl << "end"; + _out.dec(); _out << nl << "end"; // End of proxy class. } -- cgit v1.2.3