Bug 283575 - [1.5][compiler] Compiler Error in type inference.
Summary: [1.5][compiler] Compiler Error in type inference.
Status: VERIFIED DUPLICATE of bug 277643
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.6 M1   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-15 12:12 EDT by Raphaël Lemaire CLA
Modified: 2009-08-04 04:31 EDT (History)
2 users (show)

See Also:


Attachments
Source file (978 bytes, text/plain)
2009-07-15 12:17 EDT, Raphaël Lemaire CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Lemaire CLA 2009-07-15 12:12:14 EDT
Hello,

This code fragment (inspired by "real" code), compiles (with unchecked warnings) with javac and the ganymede compiler, but does not compile with galileo.
Comment 1 Raphaël Lemaire CLA 2009-07-15 12:17:32 EDT
Created attachment 141662 [details]
Source file
Comment 2 Kent Johnson CLA 2009-07-20 12:55:30 EDT
Same inferred return type case as bug 277643

*** This bug has been marked as a duplicate of bug 277643 ***
Comment 3 Srikanth Sankaran CLA 2009-08-04 04:31:46 EDT
Verified for 3.6M1