Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365306 - [Xbase] 'it' doesn't work properly in type guarded switches
Summary: [Xbase] 'it' doesn't work properly in type guarded switches
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 normal (vote)
Target Milestone: M6   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 08:21 EST by Sven Efftinge CLA
Modified: 2017-10-31 11:18 EDT (History)
1 user (show)

See Also:
sebastian.zarnekow: kepler+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-12-01 08:21:48 EST
The following doesn't work_

switch (it : 'foo' as CharSequence) {
   String : length
   default : 0
}

Workaround : it.length
Comment 1 Sebastian Zarnekow CLA 2013-04-19 05:14:40 EDT
Solved.
Comment 2 Eclipse Webmaster CLA 2017-10-31 11:07:26 EDT
Requested via bug 522520.

-M.
Comment 3 Eclipse Webmaster CLA 2017-10-31 11:18:51 EDT
Requested via bug 522520.

-M.