Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JSDT Errors on Type Incompatibility and Missing Declarations
JSDT Errors on Type Incompatibility and Missing Declarations [message #1273020] Wed, 19 March 2014 06:25
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
Hi,

I wondered if JSDT is capable to detect the following errors. A first test was not promising, but I want to make sure that I have missed no JSDoc annotation or project preference setting.

/**
 * @type String
 */
var v = "bla";
v = 23;


In this case I wish a warning that the type changes.


function SomeClass(){
	
	this.myFunc = function(){};
}

var sc = new SomeClass();
sc.myFunc2();


In this case I wish a warning that myFunc2 is undefined.
Are these features already implemented or should I raise a feature request?
Previous Topic:AES192-SHA and AES256 ciphers
Next Topic:JSP JDK Issues Eclipse Kepler
Goto Forum:
  


Current Time: Fri Aug 01 06:07:17 EDT 2014

Powered by FUDForum. Page generated in 0.01623 seconds