[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools] Re: CodeAssist problem
|
Thanks for the bug report. I have entered a problem report (1GHO6QR) to
keep track of it. The problem comes indeed from the reference to a
secondary type (D) of another compilation unit, which is unfortunately not
properly bound during code assist, resulting in the method match to be
excluded from the list of possible completions. A fix will be issued
(unlikely though to go in the 1.0 stream).
Pascal Rapicault wrote:
> Hi,
> I'm running Eclipse R.09.
> In the following situation, there is a trouble with the codeAssist
> which does not show the method "methodA" in the context described by
> the file C.java.
> According to my tests this problem only occurs when the class D is declared
> in the file A.java.
> PaScaL
> File ========== A.java =============
> class A {
> public D methodA() {return null; };
> }
> abstract class D {
> }
> ====================================
> File ============ C.java =============
> public class C {
> public void foo() {
> A a = new A();
> a.m < Ctrl+Space >;
> }
> }
> ====================================