Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320274 - Backport 8.0 fix to 3.0.5p for invalid non-static function error message
Summary: Backport 8.0 fix to 3.0.5p for invalid non-static function error message
Status: RESOLVED FIXED
Alias: None
Product: JSDT
Classification: WebTools
Component: General (show other bugs)
Version: 3.0.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.0.5 P   Edit
Assignee: Chris Jaun CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 10:45 EDT by Chris Jaun CLA
Modified: 2010-07-27 08:21 EDT (History)
1 user (show)

See Also:
thatnitind: review+


Attachments
patch (4.23 KB, patch)
2010-07-19 10:46 EDT, Chris Jaun CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Jaun CLA 2010-07-19 10:45:36 EDT
The following statement is returning an invalid error message:

<script language="JavaScript">hX_4.onPageLoad();</script>

where hX_4 is a defined JS variable.

Cannot make a static reference to the non-static function onPageLoad()from the type HxG_4
Comment 1 Chris Jaun CLA 2010-07-19 10:46:47 EDT
Created attachment 174624 [details]
patch
Comment 2 Chris Jaun CLA 2010-07-19 10:47:39 EDT
This patch fixes the error message and also sets the default semantic validation flag to false as it is in 3.2.
Comment 3 Carl Anderson CLA 2010-07-27 08:21:38 EDT
Committed to R3_0_5_patches