diff options
author | Martin Odersky <odersky@gmail.com> | 2015-05-15 12:17:29 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-05-21 17:41:12 +0200 |
commit | 89145d0e166a3042d7530b037a5664f3b1d4f22e (patch) | |
tree | 9391f1ea85094aba6ea87f7b1dfeee99eb435b31 /docs/SyntaxSummary.txt | |
parent | 1f908b420e4efe944ea764bbba239472c9c3cc92 (diff) | |
download | dotty-89145d0e166a3042d7530b037a5664f3b1d4f22e.tar.gz dotty-89145d0e166a3042d7530b037a5664f3b1d4f22e.tar.bz2 dotty-89145d0e166a3042d7530b037a5664f3b1d4f22e.zip |
Disallow {...} arguments for annotations
This mimics scalac's behavior (but not the official syntax; in fact the
official syntax seems to be ambiguous.
Diffstat (limited to 'docs/SyntaxSummary.txt')
-rw-r--r-- | docs/SyntaxSummary.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/SyntaxSummary.txt b/docs/SyntaxSummary.txt index dadf15bed..1bbdc84d7 100644 --- a/docs/SyntaxSummary.txt +++ b/docs/SyntaxSummary.txt @@ -249,7 +249,7 @@ grammar. AccessModifier ::= (`private' | `protected') [AccessQualifier] AccessQualifier ::= `[' (id | `this') `]' - Annotation ::= `@' SimpleType {ArgumentExprs} Apply(tpe, args) + Annotation ::= `@' SimpleType {ParArgumentExprs} Apply(tpe, args) TemplateBody ::= [nl] `{' [SelfType] TemplateStat {semi TemplateStat} `} (self, stats) TemplateStat ::= Import |