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
The more serious issue is that the Scala compiler stops as soon as it finds syntax errors, so no errors are reported in Scala sources that come afterwards.
The text was updated successfully, but these errors were encountered:
The following code is rejected by the Scala compiler:
Results in:
According to the Java spec,
;
is legal in a type declaration list:http://docs.oracle.com/javase/specs/jls/se7/html/jls-7.html#jls-7.6
The more serious issue is that the Scala compiler stops as soon as it finds syntax errors, so no errors are reported in Scala sources that come afterwards.
The text was updated successfully, but these errors were encountered: