public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: java/2499: Class members should be inherited from implemented interfaces
@ 2003-05-12 20:36 Dara Hazeghi
  0 siblings, 0 replies; 2+ messages in thread
From: Dara Hazeghi @ 2003-05-12 20:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR java/2499; it has been noted by GNATS.

From: Dara Hazeghi <dhazeghi@yahoo.com>
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: Re: java/2499: Class members should be inherited from implemented interfaces
Date: Mon, 12 May 2003 13:34:38 -0700

 http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit- 
 trail&database=gcc&pr=2499
 
 Hello,
 
 I can confirm that this behavior still occurs on gcc 3.2, 3.3 branch  
 and mainline (20030511) on i686-linux.
 
 Dara
 


^ permalink raw reply	[flat|nested] 2+ messages in thread

* java/2499: Class members should be inherited from implemented interfaces
@ 2001-04-05 16:16 mark
  0 siblings, 0 replies; 2+ messages in thread
From: mark @ 2001-04-05 16:16 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2499
>Category:       java
>Synopsis:       Class members should be inherited from implemented interfaces
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          rejects-legal
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 05 16:16:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     mark@klomp.org
>Release:        gcc version 2.95.3 20010219 (prerelease)
>Organization:
>Environment:

>Description:
The following legal code is not accepted:

::::::::::::::
I.java
::::::::::::::
interface I {
        class Inner {}
}

::::::::::::::
Test.java
::::::::::::::
class Test implements I {
        void test(Inner i) { }
}


Test.java:2: Type `Inner' not found in the declaration of the argument `i' of method `test'.
   	void test(Inner i) { }
                     ^
1 error

Inner should be visible in Test since it is a class member of the interface I that Test implements.
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-12 20:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-12 20:36 java/2499: Class members should be inherited from implemented interfaces Dara Hazeghi
  -- strict thread matches above, loose matches on Subject: below --
2001-04-05 16:16 mark

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).