Community
Participate
Working Groups
In a role-of-role context a callout binding can cause the error mentioned in the title although the source code does not have an explicit reference to the non-public role. This is witnessed by test1122_layeredTeams8() where the callout void k() -> void k() is implemented using a call to the internal bridge method _OT$R1$private$k(R1<@theTeam>) That first parameter is generated and actually is a baseclass reference that shouldn't be checked for this kind of access issue.
Created attachment 172838 [details] Fix One-line fix, by marking the argument reference as a baseclass reference.
Patch has been committed as r530.
Verified using build 201007050931.