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

Bug 356762

Summary: [Xbase] Builder Syntax
Product: [Modeling] TMF Reporter: Sven Efftinge <sven.efftinge>
Component: XtextAssignee: Project Inbox <tmf.xtext-inbox>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 Flags: sven.efftinge: indigo+
Version: 2.0.0   
Target Milestone: SR2   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Sven Efftinge CLA 2011-09-06 03:27:30 EDT
It should be possible to append the closure after the actual feature call if the last argument expects a closure. This will allow to introduce new libraries which look like language statements.

E.g. 

tryWithResource(myInputStream) [ in |
   // do stuff with in
]
Comment 1 Sven Efftinge CLA 2011-09-06 03:40:41 EDT
pushed to master
Comment 2 Karsten Thoms CLA 2017-09-19 17:36:04 EDT
Closing all bugs that were set to RESOLVED before Neon.0
Comment 3 Karsten Thoms CLA 2017-09-19 17:46:59 EDT
Closing all bugs that were set to RESOLVED before Neon.0