bug in Xtend 2.6 w.r.t. set literals?

66 views
Skip to first unread message

Meinte Boersma

unread,
Apr 18, 2014, 5:09:17 AM4/18/14
to xtend...@googlegroups.com
The following Xtend code does not compile (not even a Java file saying so):

class BugCheck {

val someSet = #{

"foo" -> "bar"

}

}

Is it a bug?

The error log says:

java.lang.IllegalStateException: Cannot get name for org.eclipse.xtext.xbase.impl.XSetLiteralImpl@18742df9
&c.

Sebastian Zarnekow

unread,
Apr 22, 2014, 3:30:47 AM4/22/14
to xtend...@googlegroups.com
Hi Meinte,

please file a ticket.

This should compile to a map literal of type Map<String, String>.

Thanks,
Sebastian


--
You received this message because you are subscribed to the Google Groups "Xtend Programming Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtend-lang+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

signature.asc

Meinte Boersma

unread,
Apr 23, 2014, 5:18:37 AM4/23/14
to xtend...@googlegroups.com
On Tuesday, April 22, 2014 9:30:47 AM UTC+2, Sebastian Zarnekow wrote:
please file a ticket.

Reply all
Reply to author
Forward
0 new messages