This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 178877 - same namespace for class and interface
Summary: same namespace for class and interface
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC All
: P2 normal (vote)
Assignee: rmatous
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-18 14:28 UTC by lneme
Modified: 2010-01-25 08:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description lneme 2009-12-18 14:28:43 UTC
Classes and Interfaces have the same namespace. If I declare class and interface with the same name, it should show the error message.commit
Comment 1 Tomas Mysik 2009-12-21 15:45:07 UTC
Do I understand correctly that you would like to see a message about using the same name? Sorry, IMHO this can be maybe a hint (and a P3 enhancement) but definitely not an error...
However, reassigning to the proper component and owner to decide.
Comment 2 Quality Engineering 2010-01-06 00:42:47 UTC
Integrated into 'main-golden', will be available in build *201001060200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/4ba794dc410d
User: Radek Matous <rmatous@netbeans.org>
Log: #178877 -  same namespace for class and interface
Comment 3 Quality Engineering 2010-01-07 23:44:38 UTC
Integrated into 'main-golden', will be available in build *201001080200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d8d5b3ba79fc
User: Radek Matous <rmatous@netbeans.org>
Log: #178877 -  same namespace for class and interface - types with same names in different namespaces are allowed
Comment 4 Filip Zamboj 2010-01-25 08:16:13 UTC
verified in web-main build 2010-01-25