Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362936 - Comparing ANY type with some numeric values fails
Summary: Comparing ANY type with some numeric values fails
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-04 15:04 EDT by Paul Harmon CLA
Modified: 2017-02-23 14:16 EST (History)
5 users (show)

See Also:


Attachments
Testcase (1.85 KB, application/octet-stream)
2011-11-04 15:04 EDT, Paul Harmon CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.