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 174324 - [68cat] [hints] Only Base Object Hints available after => operator
Summary: [68cat] [hints] Only Base Object Hints available after => operator
Status: RESOLVED INCOMPLETE
Alias: None
Product: ruby
Classification: Unclassified
Component: Editing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 06:42 UTC by esmithbss
Modified: 2009-10-12 13:18 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 esmithbss 2009-10-12 06:42:22 UTC
[ BUILD # : 200910091401 ]
[ JDK VERSION : 1.6.* ]

When I am coding a new object creation, the object on the right side
of my => operator only shows the default list of hints.  It doesn't
contain any of it's member fields or details.

eg:

new_rec = parent.children.build( :parent => parent, :value =>
new_component.amount )

In the line above, when I type in new_component and add the period,
then hit the <alt><space> combo to show the hints (or wait until the
hints pop up), the amount member will not be shown.
Comment 1 Erno Mononen 2009-10-12 13:18:54 UTC
It looks like in this case the IDE wasn't able to infer the type of new_component, so it just falls back to the default 
CC list. Can you please post the context where new_component is created/assigned? Can you see its member fields in CC 
in other contexts?