Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 342277 - [Xbase] type inference problem
Summary: [Xbase] type inference problem
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-08 08:39 EDT by Sven Efftinge CLA
Modified: 2017-09-19 17:29 EDT (History)
0 users

See Also:
sven.efftinge: indigo+


Attachments

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