This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 402472 - [validation] cannot convert from Object to js.Object these should be treated the same
Summary: [validation] cannot convert from Object to js.Object these should be treated ...
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-03-05 14:31 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-03-05 14:31:30 EST
function foo(obj){ //< void foo(js.Object)

}

var zot = {}; //<<Object
foo(zot); // get error here which is unexpected
Comment 1 Justin Early CLA 2013-03-05 16:03:57 EST
This also appears to be the similiar problem as js.Function

function bar(obj){ //< js.Function foo(js.Function)
	return obj;
}

var obj = {
aa : bar(
		this.aa),
bb : bar(
		this.bb)
		}
Comment 2 Justin Early CLA 2013-03-05 17:10:08 EST
This case is different creating different bug for this one.

function bar(obj){ //< js.Function foo(js.Function)
return obj;
}

var obj = {
aa : bar(
this.aa),
bb : bar(
this.bb)
}
Comment 3 Justin Early CLA 2013-03-07 18:19:34 EST
Forgot to flip this one. This was fixed with last round of type conversion fixes.