You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** enum class A */publicstaticfinalintX = 0;
/** enum class B */publicstaticfinalintX = 0;
Which doesn't compile due to the collision of variables named X.
Renaming one of them isn't possible, because infoMap.put(new Info("X").javaNames("whatever")) renames them both to whatever, and infoMap.put(new Info("A::X").javaNames("whatever")) has no effect.
The text was updated successfully, but these errors were encountered:
javacpp-enum-class-repro.tar.gz
This C++:
Produces this Java:
Which doesn't compile due to the collision of variables named
X
.Renaming one of them isn't possible, because
infoMap.put(new Info("X").javaNames("whatever"))
renames them both towhatever
, andinfoMap.put(new Info("A::X").javaNames("whatever"))
has no effect.The text was updated successfully, but these errors were encountered: