-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated class member names in ROOT classes #8189
Comments
For completeness - here other ROOT classes with similar problem:
|
@linev I think you made a PR for that ? right ? |
@couet I just provide workaround in TBufferJSON for TStyle class only. |
so we can close this issue ? |
No, it is not only TStyle. |
Can I give this a go? |
That do you mean? For TStyle the only solution - workaround in TBufferJSON. For other classes one should check if class members can be changed - to avoid any possible confusion in the future. |
Ahh okay. |
There is
fLineStyle
member in TStyle class:At the same time there is
fLineStyle
inTAttLine
class, which also base class for TStyle.It makes problem to create JSON for such object - see #8181.
But also can make troubles in the future while:
This is offset for member from TAttLine class, but not from TStyle class.
Any attempt to write conversion I/O rules for such member fails because of this.
The text was updated successfully, but these errors were encountered: