summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorroberthoedicke <robert@duckbuddha.com>2014-10-08 23:41:33 +0200
committerroberthoedicke <robert@duckbuddha.com>2014-10-08 23:41:33 +0200
commitcbfcb665d4fb981931c30aa5937eb7ce6c2a3493 (patch)
treec45b743109aa361cc594ced1c1f70617c6e8c9f7 /spec
parenta95c97d2bec7e833615ab6bc71eb3a7a53e89240 (diff)
downloadscala-cbfcb665d4fb981931c30aa5937eb7ce6c2a3493.tar.gz
scala-cbfcb665d4fb981931c30aa5937eb7ce6c2a3493.tar.bz2
scala-cbfcb665d4fb981931c30aa5937eb7ce6c2a3493.zip
Update 06-expressions.md
Inserted two missing instances of the word "the". Corrected "invokeDynamic" to "applyDynamic".
Diffstat (limited to 'spec')
-rw-r--r--spec/06-expressions.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/06-expressions.md b/spec/06-expressions.md
index 03b8065f4b..afd1492744 100644
--- a/spec/06-expressions.md
+++ b/spec/06-expressions.md
@@ -1571,7 +1571,7 @@ $T$ is a value type; if it is a method type we apply
means finding a substitution $\sigma$ of types $T_i$ for the type
parameters $a_i$ such that
-- None of inferred types $T_i$ is a [singleton type](03-types.html#singleton-types)
+- None of the inferred types $T_i$ is a [singleton type](03-types.html#singleton-types)
- All type parameter bounds are respected, i.e.
$\sigma L_i <: \sigma a_i$ and $\sigma a_i <: \sigma U_i$ for $i = 1 , \ldots , n$.
- The expression's type conforms to the expected type, i.e.
@@ -1608,7 +1608,7 @@ constraint system means
finding a substitution $\sigma$ of types $T_i$ for the type parameters
$a_i$ such that
-- None of inferred types $T_i$ is a [singleton type](03-types.html#singleton-types)
+- None of the inferred types $T_i$ is a [singleton type](03-types.html#singleton-types)
- All type parameter bounds are respected, i.e. $\sigma L_i <: \sigma a_i$ and
$\sigma a_i <: \sigma U_i$ for $i = 1 , \ldots , n$.
- The method's result type $T'$ conforms to the expected type, i.e. $\sigma T' <: \sigma \mathit{pt}$.
@@ -1750,7 +1750,7 @@ a sub-expression of parameterless method type, is not evaluated in the expanded
### Dynamic Member Selection
The standard Scala library defines a trait `scala.Dynamic` which defines a member
-\@invokeDynamic@ as follows:
+`applyDynamic` as follows:
```scala
package scala