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

Bug 365306

Summary: [Xbase] 'it' doesn't work properly in type guarded switches
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: sebastian.zarnekow
Version: 2.2.0Flags: sebastian.zarnekow: kepler+
Target Milestone: M6   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

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.