Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357967 - Cast is missing on an any assignment
Summary: Cast is missing on an any assignment
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 blocker (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-16 13:18 EDT by Joseph Vincens CLA
Modified: 2017-02-23 14:19 EST (History)
1 user (show)

See Also:


Attachments
report (64.83 KB, text/html)
2011-09-19 10:04 EDT, Joseph Vincens CLA
no flags Details

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