Re: Ruby bindings failure, perhaps related to __?
From: Julian Foad <julianfoad_at_apache.org>
Date: Thu, 27 Sep 2018 17:09:44 +0100
Julian Foad wrote:
I learnt enough Ruby to fix it in r1842107, nominated for backport to 1.11.
The problem was it was trying to convert a struct type name like
We had to decide what the class name should be: "Shelf" or "_Shelf" or "XShelf" or "X_Shelf" or something like "svn_client__shelf" or other variants.
I found Ruby doesn't allow a class name to begin with an underscore, and we didn't want to pollute the "stable" namespace with an unstable API by using just "Shelf", so in the end I chose "XShelf":
Svn::Client::XShelf
We should treat this as an interim solution and examine what we are doing with the other language bindings and potentially change to a more widely consistent solution later.
-- - JulianReceived on 2018-09-27 18:09:53 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.