| Summary: | Unexpected behavior with case statement using Any/Number in/inout parameter | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> | ||||||||
| Component: | EDT | Assignee: | Huang Ji Yong <hjiyong> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | major | ||||||||||
| Priority: | P1 | CC: | hjiyong, svihovec | ||||||||
| Version: | unspecified | ||||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows XP | ||||||||||
| Whiteboard: | |||||||||||
| Attachments: |
|
||||||||||
Increased severity due to the number of failing variations that could be resolved by this defect. Resolving 358651 (Java) and 361568 (JS) required before further analysis of lang.express.parameter testcases. Created attachment 205895 [details]
Fix for number type argument
Scott,
I attach the patch to resolve the number in/out problem. Please review.
The any type still has problem.
I notice 2 differences of EDT and RBD
1. In RBD, we can not set in parameter for number type(primitive type).
2. In RBD, when compare any type variable without as expression to other types will cause generation error.
Are the changes expectable?
Created attachment 206450 [details]
Fix for any type argument
Add genBinaryExpression for AnyType template Verified 201111090901 & closed |
Created attachment 205646 [details] Eunit test file Eunit variations indicate the desired behavior. Related java defect is 358651.