This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 401473 - [bug] warning about initializing rule false positive
Summary: [bug] warning about initializing rule false positive
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VJET (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Justin Early CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-21 16:40 EST by Justin Early CLA
Modified: 2017-04-11 15:12 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Early CLA 2013-02-21 16:40:22 EST
vjo.ctype('linkage1.T1') //< public

.props({
	//>public void main(String... args) 
	main : function(args){
		var t1 = new this ;
		var abc = new linkage1.T1 ;
	}
})
.protos({
	//> void say(Object what)
	say: function(what) {
		vjo.sysout.println("said: " + what) ;
	},

	bigD: Date, //< public type::Date
	
	// ***Bug: From a pure-JS perspective this is just a reference to ME
	bigT1: linkage1.T1,	//< public type::T1
	// same here
	bigT1a: this.vj$.T1  //< public type::T1
})
.endType();
Comment 1 Justin Early CLA 2013-02-22 14:15:27 EST
Fixed attributed types. There was some confusion in code about JstAttributed types since this is really a type plus property name/ method name. The attributed type should have a jstbinding to be correct. If the binding is not there either the linker didn't link it (which was the case for globals section found in tests) or the method/property that is being referenced does not exist in which case there should be a warning.