Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357698 - Type mismatch in generated Java using variable defined number?
Summary: Type mismatch in generated Java using variable defined number?
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-14 17:49 EDT by broy2 CLA
Modified: 2017-02-23 14:18 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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