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 133641 - [cc] Random CC results if the type name prefixes another type name
Summary: [cc] Random CC results if the type name prefixes another type name
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
: 131938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-04-22 11:51 UTC by Tomasz Slota
Modified: 2008-08-26 18:20 UTC (History)
2 users (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 Tomasz Slota 2008-04-22 11:51:55 UTC
To reproduce:

Call code completion several times in the following situation:

$a = new mysqli;
$a->|

the type of $a is randomly resolved to mysqli, mysqli_result, mysqli_warning, mysqli_stmt and a dozen of other classes prefixed with mysqli. CC results are 
different each time according to the resolved type.
Comment 1 Tomasz Slota 2008-04-22 12:55:02 UTC
Fixed in trunk,

http://hg.netbeans.org/main/rev/968413c277a7


Comment 2 Tomasz Slota 2008-05-30 15:20:02 UTC
*** Issue 131938 has been marked as a duplicate of this issue. ***
Comment 3 Mikhail Matveev 2008-08-26 18:20:12 UTC
Verified