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
packagea {
// Scala plugin reports an error 'Val or var keyword expected' on the parameter 'foo'.classFoo(private[a] foo: String)
}
But according to language specification this syntax is illegal:
ClassParam ::= {Annotation} {Modifier} ('val' ) id ':' ParamType ['=' Expr]
So something should be changed (specification or compiler).
I think, that compiler should be changed here because of simple reason, that this modifier has no sense on class parameter.
The text was updated successfully, but these errors were encountered:
Example for our issue: http://youtrack.jetbrains.net/issue/SCL-3419
But according to language specification this syntax is illegal:
ClassParam ::= {Annotation} {Modifier} ('val' ) id ':' ParamType ['=' Expr]
So something should be changed (specification or compiler).
I think, that compiler should be changed here because of simple reason, that this modifier has no sense on class parameter.
The text was updated successfully, but these errors were encountered: