http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47136
janus at gcc dot gnu.org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[OOP] possible name |local identifier shall not |resolution problems between |be the same as a global |MODULE and INTERFACE? |identifier --- Comment #8 from janus at gcc dot gnu.org 2011-01-02 15:24:10 UTC --- (In reply to comment #7) > (In reply to comment #6) > > Within the scope of module "a" everything is fine, since the module "s" is > > not > > used. Within the scope of module "s", however, the subroutine "s" is a local > > identifier (by means of use association) and conflicts with the global > > identifier of module "s" itself. Right? > > By this reasoning the PR is actually of the type "accepts-invalid" and not > "rejects-valid". ... and unrelated to OOP.