Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [xtend2] assert
[xtend2] assert [message #754818] Fri, 04 November 2011 13:18 Go to next message
Hauke Fuhrmann is currently offline Hauke FuhrmannFriend
Messages: 333
Registered: July 2009
Senior Member
Hi there,

is there a good equivalent in Xtend2 for Java Assertions? Currently I'm
using exceptions instead, but stack traces are given only in terms of
Java Stack Traces and it's a bit nasty to find your way back from the
Java line to the original location in the Xtend class.

Cheers,
Hauke
Re: [xtend2] assert [message #754914 is a reply to message #754818] Fri, 04 November 2011 22:46 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Hauke,

there no assert in Xtend and we don't have plans to add that.

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

On 04.11.11 14:18, Hauke Fuhrmann wrote:
> Hi there,
>
> is there a good equivalent in Xtend2 for Java Assertions? Currently I'm
> using exceptions instead, but stack traces are given only in terms of
> Java Stack Traces and it's a bit nasty to find your way back from the
> Java line to the original location in the Xtend class.
>
> Cheers,
> Hauke
Previous Topic:[xtend2] Creating a generator
Next Topic:How to Disallow White Spaces in Qualified Name
Goto Forum:
  


Current Time: Fri Apr 26 11:38:21 GMT 2024

Powered by FUDForum. Page generated in 0.02857 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top