diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-01-21 12:55:07 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2016-03-26 09:31:11 -0700 |
commit | 66b038976d435472b2e5c9720ff2e8cc42177b1a (patch) | |
tree | 0f1c15c7c4fc3ffcf47772517d15b6fb067b0206 /spec/08-pattern-matching.md | |
parent | 828105f8ca5c34399608e87968fa840044113f3f (diff) | |
download | scala-66b038976d435472b2e5c9720ff2e8cc42177b1a.tar.gz scala-66b038976d435472b2e5c9720ff2e8cc42177b1a.tar.bz2 scala-66b038976d435472b2e5c9720ff2e8cc42177b1a.zip |
Spec updates for Sammy.
- Upgrade MathJax to 2.6. This fixes the vertical bar problem
on Chrome (https://github.com/mathjax/MathJax/issues/1300);
- Disambiguate link to Dynamic Selection;
- Consolidate type relations;
- Formatting, whitespace and linebreaks;
- SAM conversion.
Diffstat (limited to 'spec/08-pattern-matching.md')
-rw-r--r-- | spec/08-pattern-matching.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/08-pattern-matching.md b/spec/08-pattern-matching.md index 7e48947639..3b481eea86 100644 --- a/spec/08-pattern-matching.md +++ b/spec/08-pattern-matching.md @@ -654,7 +654,8 @@ or `scala.PartialFunction[$S_1$, $R$]`, where the argument type(s) $S_1 , \ldots , S_k$ must be fully determined, but the result type $R$ may be undetermined. -If the expected type is `scala.Function$k$[$S_1 , \ldots , S_k$, $R$]`, +If the expected type is [SAM-convertible](06-expressions.html#sam-conversion) +to `scala.Function$k$[$S_1 , \ldots , S_k$, $R$]`, the expression is taken to be equivalent to the anonymous function: ```scala |