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 141203 - No error hint for interface with a member
Summary: No error hint for interface with a member
Status: VERIFIED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker with 1 vote (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-22 17:09 UTC by Mikhail Matveev
Modified: 2012-02-08 14:34 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Private Pera (5.74 KB, image/png)
2011-02-28 08:32 UTC, schkovich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Matveev 2008-07-22 17:09:25 UTC
interface inter{
                
    private $a;
                
}

This code should generate an error in editor, because interface can't have a member. Now it doesn't.
Comment 1 Tomasz Slota 2008-08-06 09:45:53 UTC
Again: very nice to have feature, but will have to wait...
Comment 2 polan 2008-08-08 08:23:30 UTC
This feature could be really useful, and Eclipse PDT does this. 
Comment 3 Tomasz Slota 2010-02-10 08:44:42 UTC
reassigning to default owner
Comment 4 Filip Zamboj 2010-09-15 12:26:08 UTC
batch reassigning
Comment 5 schkovich 2011-02-28 08:32:30 UTC
Created attachment 106524 [details]
Private Pera

Product Version: NetBeans IDE Dev (Build 201102280001)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.35-25-generic running on amd64; UTF-8; en_US (nb)

Status quo. Milestone is missed. How about 7.0?
Comment 6 Ondrej Brejla 2012-02-08 14:11:07 UTC
Works for me in 7.2 dev.
Comment 7 schkovich 2012-02-08 14:34:21 UTC
Works for me as well.

Product Version: NetBeans IDE Dev (Build 201202060400)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b17
System: Linux version 3.0.0-15-generic running on amd64; UTF-8; en_US (nb)