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 -

php - Boolean search on database with 5 million rows, very slow -

css - Text drops down with smaller window -