aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-05-15 12:17:29 +0200
committerMartin Odersky <odersky@gmail.com>2015-05-21 17:41:12 +0200
commit89145d0e166a3042d7530b037a5664f3b1d4f22e (patch)
tree9391f1ea85094aba6ea87f7b1dfeee99eb435b31 /docs
parent1f908b420e4efe944ea764bbba239472c9c3cc92 (diff)
downloaddotty-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')
-rw-r--r--docs/SyntaxSummary.txt2
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