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
Post a Comment