| Summary: | [Xtend] escaped void (^void) generates illegal java code | ||
|---|---|---|---|
| Product: | [Modeling] TMF | Reporter: | Robert von Massow <rvonmassow> |
| Component: | Xtext | Assignee: | Project Inbox <tmf.xtext-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
uhm, sorry, just saw: #346826 seems to be the original bug *** This bug has been marked as a duplicate of bug 346826 *** |
Build Identifier: 2.0.1.v201108190621 the follwing xtend code def foo() { var ^void = new Object() ^void } translates to public Object foo() { Object _xblockexpression = null; { Object _object = new Object(); Object void = _object; _xblockexpression = (void); } return _xblockexpression; } Reproducible: Always Steps to Reproduce: 1. just use the code snippet