Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345877 - [xbase] Missing validation for var declaration of inferred type void
Summary: [xbase] Missing validation for var declaration of inferred type void
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: RC1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-16 03:27 EDT by Sebastian Zarnekow CLA
Modified: 2017-09-19 17:48 EDT (History)
0 users

See Also:
sebastian.zarnekow: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Zarnekow CLA 2011-05-16 03:27:08 EDT
var illegalAssignmentOfVoid = while(true) {}

We should be careful to not create unnecessary redundant validation errors for:

var String s = while(true) {}

and 

var void illegalVoid;
Comment 1 Sebastian Zarnekow CLA 2011-05-16 06:26:17 EDT
Pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 17:37:04 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:48:02 EDT
Closing all bugs that were set to RESOLVED before Neon.0