Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361247 - [Xbase] Add generic return value validation
Summary: [Xbase] Add generic return value validation
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.1.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: M7   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 07:44 EDT by Sven Efftinge CLA
Modified: 2017-10-31 10:59 EDT (History)
2 users (show)

See Also:
sebastian.zarnekow: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Efftinge CLA 2011-10-18 07:44:26 EDT
Expressions 'living' in the context of an inferred JvmOperation should be checked whether the return values correspond to the expected return type.
Comment 1 Sebastian Zarnekow CLA 2012-04-02 16:52:49 EDT
I think XbaseJavaValidator#checkImplictReturn and #checkReturn provide this functionality, don't they?
Comment 2 Jan Koehnlein CLA 2012-04-20 09:52:45 EDT
As Sebastian says, this is already happening.
Comment 3 Eclipse Webmaster CLA 2017-10-31 10:48:36 EDT
Requested via bug 522520.

-M.
Comment 4 Eclipse Webmaster CLA 2017-10-31 10:59:39 EDT
Requested via bug 522520.

-M.