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

Bug 357967

Summary: Cast is missing on an any assignment
Product: z_Archived Reporter: Joseph Vincens <jvincens>
Component: EDTAssignee: Project Inbox <edt.javagen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: blocker    
Priority: P3 CC: jeffdouglas
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
report none

Description Joseph Vincens CLA 2011-09-16 13:18:52 EDT
using the following EGL
		ds SQLDataSource?;
		a1 any = new SQLDataSource("");
		ds = a1;
the assignment ds = a1 is missing a cast.
Comment 1 Jeff Douglas CLA 2011-09-16 14:57:56 EDT
fixed
Comment 2 Joseph Vincens CLA 2011-09-19 10:03:21 EDT
the generated code is not correct:
		SQLDataSource ds = null;
		egl.lang.EglAny a1;
		a1 = EglAny.ezeBox(new SQLDataSource(""));
		ds = EglAny.asAny(a1);
Comment 3 Joseph Vincens CLA 2011-09-19 10:04:33 EDT
Created attachment 203593 [details]
report

here's the generation report for the program
Comment 4 Joseph Vincens CLA 2011-09-19 13:27:36 EDT
fixed again
verified