diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2016-12-20 13:32:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-20 13:32:02 +0100 |
commit | 246653f024c13ba0348fec3f83b147de11251fe3 (patch) | |
tree | 22f1a21ae2548f859817952421c0d25f98fa6ad8 /spec/12-the-scala-standard-library.md | |
parent | 0924e7318046ea27a69c5f9d1675c9981f7ebeae (diff) | |
parent | 079e8dc61704a768792c6b210a5b0cd25522ee55 (diff) | |
download | scala-246653f024c13ba0348fec3f83b147de11251fe3.tar.gz scala-246653f024c13ba0348fec3f83b147de11251fe3.tar.bz2 scala-246653f024c13ba0348fec3f83b147de11251fe3.zip |
Merge pull request #5608 from retronym/merge/2.11.x-to-2.12.x-20161220
Merge 2.11.x to 2.12.x [ci: last-only]
Diffstat (limited to 'spec/12-the-scala-standard-library.md')
-rw-r--r-- | spec/12-the-scala-standard-library.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/12-the-scala-standard-library.md b/spec/12-the-scala-standard-library.md index a1d4516a1f..e885dc7fb2 100644 --- a/spec/12-the-scala-standard-library.md +++ b/spec/12-the-scala-standard-library.md @@ -141,7 +141,7 @@ Byte - Short whereas `Double` is the highest-ranked. Ranking does _not_ imply a [conformance relationship](03-types.html#conformance); for instance `Int` is not a subtype of `Long`. However, object -[`Predef`](#the-predef-object) defines [views](07-implicit-parameters-and-views.html#views) +[`Predef`](#the-predef-object) defines [views](07-implicits.html#views) from every numeric value type to all higher-ranked numeric value types. Therefore, lower-ranked types are implicitly converted to higher-ranked types when required by the [context](06-expressions.html#implicit-conversions). @@ -467,7 +467,7 @@ val ys: Array[Object] = xs.asInstanceOf[Array[Object]] // OK The instantiation of an array with a polymorphic element type $T$ requires information about type $T$ at runtime. -This information is synthesized by adding a [context bound](07-implicit-parameters-and-views.html#context-bounds-and-view-bounds) +This information is synthesized by adding a [context bound](07-implicits.html#context-bounds-and-view-bounds) of `scala.reflect.ClassTag` to type $T$. An example is the following implementation of method `mkArray`, which creates |