Hi,
looks like with Xtend 2.4 the syntax to pass arrays to annotations has changed. Example:
package test
import org.eclipse.xtext.validation.AbstractDeclarativeValidator
import org.eclipse.xtext.validation.ComposedChecks
@ComposedChecks(
validators =
{typeof(Test), typeof(Test)}
)
class Test extends AbstractDeclarativeValidator {
}
this worked with Xtend 2.3.1, but in 2.4.0 I get an parser error as '{' is not allowed.
How do I have to define this? Or is it a bug?
Kind regards
Oliver--
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/groups/opt_out.