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

php - cannot display multiple markers in google maps v3 from traceroute result -

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

javascript - firefox memory leak -