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 91401

Summary: Go to declaration doesn't work when object is declared on the first string of file
Product: cnd Reporter: Alexander Ioffe <aioffe>
Component: NavigationAssignee: Vladimir Kvashin <vkvashin>
Status: VERIFIED WORKSFORME    
Severity: blocker    
Priority: P4    
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Alexander Ioffe 2006-12-21 11:33:05 UTC
Create C/C++ file
Input following code in it:
int ff() {
    
}

int ff1() {
    
}

"int ff() {" should be the first string of file

open Class View.
try go to declaration for ff1() => works
try it for ff() => doesn't work
add empty line at the begining of file
try go to declaration for ff() => works
Comment 1 Vladimir Kvashin 2007-08-28 19:47:21 UTC
Does not repeat any more.
Comment 2 alexandrov 2007-12-27 07:08:59 UTC
verified in build 20071224