You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can have varargs constructors in both Scala and Java, but you can't annotate a varargs constructor in Scala with @VarArgs - you get an error message "A constructor cannot be annotated with a @varargs annotation".
The text was updated successfully, but these errors were encountered:
You can have varargs constructors in both Scala and Java, but you can't annotate a varargs constructor in Scala with @VarArgs - you get an error message "A constructor cannot be annotated with a
@varargs
annotation".The text was updated successfully, but these errors were encountered: