Community
Participate
Working Groups
I20050627-1435 class A { A(int arg) {} } class B extends A { } The quick fix 'Add constructor B(int)' enters linked mode, but does not link the reference to the parameter name 'arg' in 'super(arg);'.
having both classes in the same cu is rare.
> having both classes in the same cu is rare. Not relevant to reproduce. I'm not talking about the 'arg' in A's constructor (that one should never be linked to the parameter name in B's constructor). B's new constructor is this: B(int arg) { super(arg); // TODO Auto-generated constructor stub } The 'arg' in 'B(int arg)' has a box around it, but the 'arg' in 'super(arg);' doesn't. As soon as I start changing the name of the newly generated parameter, I introduce a compile error.
ok, now I see. The problem here is that 'super(arg)' is part of the code template *** This bug has been marked as a duplicate of 69462 ***