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

Bug 342277

Summary: [Xbase] type inference problem
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 Flags: sven.efftinge: indigo+
Version: 2.0.0   
Target Milestone: M7   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-04-08 08:39:22 EDT
For the following expression :

{
   val list = newArrayList('foo','bar','baz')
   for (x : list.reverse) {
	x.toUpperCase
   }
}

toUpperCase cannot be resolved. It seems as if the type inference in for expressions is broken.
Comment 1 Sven Efftinge CLA 2011-04-08 08:44:41 EDT
pushed
Comment 2 Karsten Thoms CLA 2017-09-19 17:18:30 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:29:52 EDT
Closing all bugs that were set to RESOLVED before Neon.0