| Summary: | Bitwise operations on SmallInt should trigger validation error 5176 | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.compiler-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | CC: | pharmon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
i am marking this as a duplicate of bug 355692. Either we will support bitwise operators on smallint (including literals) or we will give an error *** This bug has been marked as a duplicate of bug 355692 *** verified 20111027_1153 & closed |
Currently this EDT code actual SmallInt; int2 SmallInt; int1 SmallInt; actual = int1 & int2; Will produce these generation errors: - IWN.JavaGen.9998.e 53/1163 Exception occurred: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError - IWN.JavaGen.9999.e 53/1163 Stack Trace: java.lang.RuntimeException: org.eclipse.edt.mof.egl.NoSuchFunctionError However, I should see validation errors for SmallInt like I get for BigInt - IWN.VAL.5176.e 20/17 wow - The primitive type bigInt for int1 is not valid for use in a bitwise numeric expression. At line 20 in file \Numbers \EGLSource\explore\wow.egl - IWN.VAL.5176.e 20/24 wow - The primitive type bigInt for int2 is not valid for use in a bitwise numeric expression. At line 20 in file \Numbers \EGLSource\explore\wow.egl