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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -