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

Bug 361183

Summary: egl.eglx.lang.EFloat64.ezeCast is not a function when do float as float
Product: z_Archived Reporter: Kathy Carroll <carrollk>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: greer
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Kathy Carroll CLA 2011-10-17 15:48:37 EDT
EGL code

package mine;

handler BigCompare type RUIhandler{initialUI =[], onConstructionFunction = start,cssFile = "css/ZZTest.css", title = "BigCompare"}
	
    function start()
        syslib.writestdout("starting");
        repeat();
        syslib.writestdout("stopping");
    end
    
    function repeat()
    	actual float = 8928234898823;;
		actualFloat float = actual as float;
    end
 
end

Firedfox info

starting
Could not render UI

      ()
      BigCompare.js?contextKey=12:75 ()
      BigCompare.js?contextKey=12:52 ()
      BigCompare.js?contextKey=12:7 ()
      egl.js:800 ()
      BigCompare.html?contextKey=12:79 ([object Array],(function () {egl.localeInfo = {locale: "en_US", nlsCode: "ENU", shortMask: "MM/dd/yyyy", mediumMask: "MM-dd-yyyy", longMask: "MM-dd-yyyy", currencySymbol: "$", decimalSeparator: ".", groupingSeparator: ","};try {egl.handleIDEEvent();egl.rootHandler = new (egl.mine.BigCompare);if (egl.rootHandler.targetWidget || !egl.rootHandler.egl$isWidget) {egl.rootHandler.setParent(egl.Document);} else {var package = egl.rootHandler.eze$$package;var typename = egl.rootHandler.eze$$typename;egl.rootHandler = egl.Document;egl.rootHandler.eze$$package = package;egl.rootHandler.eze$$typename = typename;}egl.startup();} catch (e) {egl.crashTerminateSession();if (!egl.mine.BigCompare) {egl.println("Internal generation error. Found no definition for mine.BigCompare. Try Project > Clean...", e);} else {egl.printError("Could not render UI", e);throw e;}}}))
      BigCompare.html?contextKey=12:53 ()
      BigCompare.html?contextKey=12:51 ([object Event])
      BigCompare.html?contextKey=12:39 


egl.eglx.lang.EFloat64.ezeCast is not a function
[CRRUI2094E] Here are the EGL function calls leading to this error:

    mine/BigCompare.egl() at line 13
    mine/BigCompare.egl() at line 7
    BigCompare.<init>() [native JavaScript]

    start() at line 75
egl.eglx.lang.EFloat64.ezeCast is not a function
ZZTest/mine/BigCompare.js?contextKey=12:75
[CRRUI2095E] Could not find the EGL function calls leading to this error
Comment 1 Scott Greer CLA 2011-10-17 17:04:04 EDT
Fixed;  also added missing ezeCast impls for smallfloat, smallint
Comment 2 Kathy Carroll CLA 2011-10-18 07:29:54 EDT
Verified 201110172101 & closed.