How to access Groovy nested enum in Scala? -


scala has trouble accessing:

// groovy class outer {   enum enum {     value   } } 

what needs done allow scala access enum?

unlike java, enum in groovy isn't implicitly static. following makes accessible scala:

// groovy class outer {   static enum enum {     value   } } 

Comments

Popular posts from this blog

css - Text drops down with smaller window -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -