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

Bug 318202

Summary: [jsdt] Non-declared function call is tolerated by the JavaScript validator
Product: [WebTools] JSDT Reporter: vlad.balan Mising name <vlad.balan>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED INVALID QA Contact: Nitin Dahyabhai <thatnitind>
Severity: major    
Priority: P3 CC: thatnitind, vlad.balan
Version: 3.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description vlad.balan Mising name CLA 2010-06-28 11:58:54 EDT
Build Identifier: 

see http://www.eclipse.org/forums/index.php?t=msg&th=170830&start=0&

Is it normal that a non declared function call like

test()

not be underlined in red as en error in an eclipse js project?

this happens in a standard js project, in standard js file.

So i can't differentiate a valid function call from a non valid one.

this worked in previous versions, like ganymede.

Reproducible: Always

Steps to Reproduce:
1. create a js project a js file
2. write test();
3. no error is signaled
Comment 1 vlad.balan Mising name CLA 2010-06-28 12:49:44 EDT
i activated preferences/javascript/validator/ error / warnings.

now it says "the function test() is undefined".

sorry for the pb.