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

Bug 362936

Summary: Comparing ANY type with some numeric values fails
Product: z_Archived Reporter: Paul Harmon <pharmon>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: carrollk, hjiyong, jqian, mheitz, svihovec
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Testcase none

Description Paul Harmon CLA 2011-11-04 15:04:09 EDT
I wrote the attached .egl file to test a fix that I put in for Bug 359872. When I ran it with JS, most of the variations passed, but a few fail. These seem to be mostly (if not all) having to do with comparing the ANY type with a Decimal type.

Import the attached testcase and run it in JS (using the go()) function. You will see that some "bad" messages are printed in the results.
Comment 1 Paul Harmon CLA 2011-11-04 15:04:50 EDT
Created attachment 206479 [details]
Testcase
Comment 2 Jing Qian CLA 2011-11-21 15:08:28 EST
still have bad printed for javascript using 201111210901's build, defer this
Comment 3 Jing Qian CLA 2011-11-21 15:09:52 EST
Kathy, I think the attached test case should be convert to Eunit format, to include into the eunit.test project as part of the any test under api.eglx_lang ?
Comment 4 Kathy Carroll CLA 2011-12-01 09:52:26 EST
add EAny001.egl to api.eglx_lang package
Comment 5 Matt Heitz CLA 2012-12-20 11:13:37 EST
Fixed with commit 172d1014e93cddd17d125097551d27d0d0b9e723 (it also fixes bug 382617).  I updated the EUnits too.