------- Comment #3 from ludovic at ludovic-brenta dot org  2007-05-03 19:15 
-------
I disagree.  As highlighted at the beginning of this PR, per 8.2(2), the
instance becomes visibleonly _after_ its declaration, i.e. at the semicolon. 
Before the semicolon, the two "Foo"s are NOT ambiguous because only the generic
is in scope, not the instance. Disambiguation is NOT necessary per the ARM, and
the error message does NOT comply with the ARM.


-- 

ludovic at ludovic-brenta dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15606

Reply via email to