Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357955 - generated java has compilation error if initing the record with function returned value
Summary: generated java has compilation error if initing the record with function retu...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 11:18 EDT by Jing Qian CLA
Modified: 2017-02-23 14:18 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jing Qian CLA 2011-09-16 11:18:07 EDT
Using last night's build (09152011)

The generated java has compilation error for the following program

program myPgm type BasicProgram {}



	function main()
		r1 MyR1;
		r2 MyR2 = myFunc(r1);
	end

	function myFunc(r1 MyR1) returns (MyR2)
	end
end

Record MyR1
	i int;
end

Record MyR2
	x int;
end
Comment 1 Jeff Douglas CLA 2011-09-16 11:26:47 EDT
fixed
Comment 2 Lisa Lasher CLA 2011-11-09 14:13:34 EST
This high severity defect was fixed several weeks ago, so I am closing.