Community
Participate
Working Groups
Not duplicate methods with one name. If I create two or more methods with same name - this incorrect! Code: class { public function test() { } public function test() { } public function test() { } } Actual result: parset no show errors Expected result: parser show error message with second and third method definition
Actually there is nothing wrong with the parser as PHP engine parses this without any problem. This is checked on runtime, something that we don't currently do. This is a good enhancement though...
New Gerrit change created: https://git.eclipse.org/r/155574
Gerrit change https://git.eclipse.org/r/155574 was merged to [master]. Commit: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=9dd849dbb8b8786efe81e7bbfeb8b56684c3d0b5