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 10:25
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
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: Mon Dec 22 03:29:28 GMT 2014

Powered by FUDForum. Page generated in 0.01968 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software