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 103737 - Hyperlink works wrong in function with default values
Summary: Hyperlink works wrong in function with default values
Status: CLOSED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-11 13:19 UTC by soldatov
Modified: 2007-12-27 15:44 UTC (History)
0 users

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 soldatov 2007-05-11 13:19:05 UTC
Steps:
- Open this file:
------------------------------------------------
#include <stdio.h>

enum {ONE, TWO};

void f(int value = ONE) {
    printf("value = %d\n", value);
    return;
}

int main(int argc, char** argv) {
    f(5);
    f();
    return (0);
}

------------------------------------------------
==> Hyperlink fails on 'ONE' string in "void f(int value = ONE) {" line
Comment 1 Alexander Pepin 2007-12-27 15:43:33 UTC
It seems to be fixed in NB6.0