Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369331 - visibility change name
Summary: visibility change name
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Core CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-22 08:51 EST by itay friedman CLA
Modified: 2020-05-14 11:07 EDT (History)
3 users (show)

See Also:


Attachments
change name example test (354 bytes, application/octet-stream)
2012-01-22 08:51 EST, itay friedman CLA
jacek.pospychala: iplog+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description itay friedman CLA 2012-01-22 08:51:32 EST
Created attachment 209885 [details]
change name example test

When a class uses a trait and changes a method's name, the new name won't be shown in an instance of that class, but the old one will.
I don't know if the old one showing is desired or not, but the new one should definitely be shown.

example test attached produces:

junit.framework.AssertionFailedError: 
EXPECTED COMPLETIONS LIST:
-----------------------------
method(say)

ACTUAL COMPLETIONS LIST:
-----------------------------
method(sayHello)
Comment 1 Zhongwei Zhao CLA 2012-05-14 02:53:21 EDT
fixed
Comment 2 Sylvia Tancheva CLA 2012-07-05 07:48:59 EDT
Verified. Closing
Ilina Stefanova