aboutsummaryrefslogtreecommitdiff
path: root/docs/SyntaxSummary.txt
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2016-06-29 19:02:34 +0200
committerMartin Odersky <odersky@gmail.com>2016-07-11 13:34:58 +0200
commitcdb4a1cb986f25eddf411dfc45aeb20dd994f7d5 (patch)
treeba9c96c271418ec09c4b39adad8ebdbf7b81f4fa /docs/SyntaxSummary.txt
parent5d0318681f8c368f04796da5dd11ee1c9fcbdbd0 (diff)
downloaddotty-cdb4a1cb986f25eddf411dfc45aeb20dd994f7d5.tar.gz
dotty-cdb4a1cb986f25eddf411dfc45aeb20dd994f7d5.tar.bz2
dotty-cdb4a1cb986f25eddf411dfc45aeb20dd994f7d5.zip
New type lambda scheme for hk types
Diffstat (limited to 'docs/SyntaxSummary.txt')
-rw-r--r--docs/SyntaxSummary.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/SyntaxSummary.txt b/docs/SyntaxSummary.txt
index d4f7ceade..45937fb54 100644
--- a/docs/SyntaxSummary.txt
+++ b/docs/SyntaxSummary.txt
@@ -96,6 +96,7 @@ grammar.
ClassQualifier ::= `[' id `]'
Type ::= FunArgTypes `=>' Type Function(ts, t)
+ | HkTypeParamClause `->' Type TypeLambda(ps, t)
| InfixType
FunArgTypes ::= InfixType
| `(' [ FunArgType {`,' FunArgType } ] `)'
@@ -125,7 +126,6 @@ grammar.
TypeParamBounds ::= TypeBounds {`<%' Type} {`:' Type} ContextBounds(typeBounds, tps)
Expr ::= FunParams `=>' Expr Function(args, expr), Function(ValDef([implicit], id, TypeTree(), EmptyTree), expr)
- | Expr1
FunParams ::= Bindings
| [`implicit'] id
| `_'