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

Bug 362716

Summary: Exception on exponent operator
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Yun Feng Ma <mayunf>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-02 15:14:49 EDT
Use EUNIT to run:

library exponent
    a decimal(4) = 6;
    b decimal(4) = 2;
    function operators(){@Test}
        try
            a = a ** b;
        onException(oops AnyException)
            LogResult.failed("Exception");  
            exit;      		 
        end
        LogResult.assertDecimalEqual("operators", 36, a);
    end
end

Get exception:  eglx.javascript.JavaScriptObjectException x.toFixed is not a function
Comment 1 Huang Ji Yong CLA 2011-11-14 01:31:50 EST
Resolved indirectly
Verified by Pengfei
Comment 2 broy2 CLA 2011-11-14 14:15:39 EST
Verified in 20111114 build.