public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* java/4467: Ambiguous name resolution problem
@ 2001-10-03 23:46 bryce
0 siblings, 0 replies; 3+ messages in thread
From: bryce @ 2001-10-03 23:46 UTC (permalink / raw)
To: gcc-gnats
>Number: 4467
>Category: java
>Synopsis: Ambiguous name resolution problem
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: accepts-illegal
>Submitter-Id: net
>Arrival-Date: Wed Oct 03 23:46:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: bryce@gcc.gnu.org
>Release: gcc version 3.1 20011003 (experimental)
>Organization:
>Environment:
>Description:
GCJ should reject this illegal code, because name resolution
should stop at the innermost scope which defines "X". See
JLS 6.5.2.
package X;
class Y {}
class X
{
void a(X.Y xy) {}
}
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/4467: Ambiguous name resolution problem
@ 2003-05-13 6:43 steven
0 siblings, 0 replies; 3+ messages in thread
From: steven @ 2003-05-13 6:43 UTC (permalink / raw)
To: aph, bryce, gcc-bugs, gcc-prs, java-prs, nobody
Synopsis: Ambiguous name resolution problem
State-Changed-From-To: open->feedback
State-Changed-By: steven
State-Changed-When: Tue May 13 06:43:45 2003
State-Changed-Why:
Looks fixed -- please confirm.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4467
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: java/4467: Ambiguous name resolution problem
@ 2003-05-12 19:15 Dara Hazeghi
0 siblings, 0 replies; 3+ messages in thread
From: Dara Hazeghi @ 2003-05-12 19:15 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR java/4467; it has been noted by GNATS.
From: Dara Hazeghi <dhazeghi@yahoo.com>
To: bryce@gcc.gnu.org, gcc-gnats@gcc.gnu.org, tromey@gcc.gnu.org
Cc:
Subject: Re: java/4467: Ambiguous name resolution problem
Date: Mon, 12 May 2003 11:46:43 -0700
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-
trail&database=gcc&pr=4467
Hello,
with gcc 3.2 the problem in this PR still appears. With 3.3 branch or
mainline (20030511) I get:
./X.java:3: error: Class `X.Y' already defined in X.java:3.
class Y {}
^
./X.java:5: error: Class `X.X' already defined in X.java:5.
class X
^
2 errors
Is this the correct error? Can this PR be closed? Thanks.
Dara
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-05-13 6:43 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-03 23:46 java/4467: Ambiguous name resolution problem bryce
2003-05-12 19:15 Dara Hazeghi
2003-05-13 6:43 steven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).