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

Bug 357698

Summary: Type mismatch in generated Java using variable defined number?
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-09-14 17:49:09 EDT
Build Identifier: 20110914

Error in generated Java for this program:

program numberProb type BasicProgram {}	
    function main()
	num1 number?;	
    	num1 = 10;	
    end	
end

Type mismatch: cannot convert from ESmallint to BigDecimal

Same error on: num1 number? = 10;		

Reproducible: Always
Comment 1 Jeff Douglas CLA 2011-09-14 22:46:26 EDT
fixed previously by another bug
Comment 2 broy2 CLA 2011-09-15 13:31:57 EDT
Verified in 20110915