Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326603

Summary: Reference to a global function does not get linked correctly when passed as function arguments
Product: [WebTools] JSDT Reporter: Chris Jaun <cmjaun>
Component: GeneralAssignee: Chris Jaun <cmjaun>
Status: RESOLVED FIXED QA Contact: Nitin Dahyabhai <thatnitind>
Severity: normal    
Priority: P3 CC: ccc, cmjaun, jzhang
Version: 3.2.2Flags: thatnitind: review+
Target Milestone: 3.2.2 P   
Hardware: All   
OS: All   
Whiteboard: WI58567
Bug Depends on: 324241    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description Chris Jaun CLA 2010-09-29 17:39:32 EDT
+++ This bug was initially created as a clone of Bug #324241 +++

Build Identifier: WTP 3.2

If I have a reference to a global function passed to a function call as an argument, it won't take you to the function definition if you click F3 on it.

Reproducible: Always

Steps to Reproduce:
1. declare a global function
2. pass the function reference to a dojo method, such as dojo.connect
3. click F3 on the reference, the tools should take you to the function's declaration, but that does not work as expected
Comment 1 Chris Jaun CLA 2010-09-29 17:40:26 EDT
Created attachment 179901 [details]
patch
Comment 2 Carl Anderson CLA 2010-10-09 08:25:44 EDT
Committed to R3_2_2_patches