[ phpeclipse-Bugs-1159746 ] redeclaration of method not detected by PHPEclipse parser
"SourceForge.net" <[email protected]> Thu, 10 May 2007 22:44:49 -0700
| Newsgroups | gmane.comp.ide.eclipse.phpeclipse.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #1159746, was opened at 2005-03-09 05:39
Message generated for change (Comment added) made by emann
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1159746&group_id=57621
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: PHP Parser
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Edward Mann (emann)
Summary: redeclaration of method not detected by PHPEclipse parser
Initial Comment:
The PHPEclipse parser does not flag the existance of
multiple identical declarations of the same method as
an error. At least under PHP 4.8.x this is caught bu
the PHP interpreter and produces a fatal error.
My PHPEclipse version is 1.3
<?php
// ==========Begin example ==========
class CRepeatableBugCase
{
function DuplicateMethod($bolBoolean)
{
return true;
} // func: DuplicateMethod : declaration 1
function DuplicateMethod($bolBoolean)
{
return true;
} // func: DuplicateMethod: declaration 2
} // class: CRepeatableBugCase
// ========== End example ===========
?>
----------------------------------------------------------------------
>Comment By: Edward Mann (emann)
Date: 2007-05-11 00:44
Message:
Logged In: YES
user_id=430467
Originator: NO
This is still broken as of 1.1.9 CVS. Will be working on it.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=484801&aid=1159746&group_id=57621
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/