We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler fails to handle annotated methods if annotation is separated from method definition by new empty line:
package some.pck import javax.ws.rs.Path trait DescriptionHandler { @Path("/descriptions") def getDescriptionsRoute: String }
Error:(9, 1) expected start of definition def getDescriptionsRoute: String
The text was updated successfully, but these errors were encountered:
Imported From: https://issues.scala-lang.org/browse/SI-10065?orig=1 Reporter: Nik Michaels (nukie) Affected Versions: 2.11.5
Sorry, something went wrong.
@lrytz said: this is as specified
TemplateStat ::= Import | {Annotation [nl]} {Modifier} Def | {Annotation [nl]} {Modifier} Dcl
http://www.scala-lang.org/files/archive/spec/2.11/13-syntax-summary.html
No branches or pull requests
Compiler fails to handle annotated methods if annotation is separated from method definition by new empty line:
The text was updated successfully, but these errors were encountered: