Skip to content

Commit bde9bf6

Browse files
committed
Fix spec links to 07-implicits.html
The file referenced by the current links actually exists under http://www.scala-lang.org/files/archive/spec/2.11/ but with a different design than the rest. It seems to be left over from an older version.
1 parent 35f8908 commit bde9bf6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

spec/04-basic-declarations-and-definitions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ function definitions. In this section we consider only type parameter
404404
definitions with lower bounds `>: $L$` and upper bounds
405405
`<: $U$` whereas a discussion of context bounds
406406
`: $U$` and view bounds `<% $U$`
407-
is deferred to [here](07-implicit-parameters-and-views.html#context-bounds-and-view-bounds).
407+
is deferred to [here](07-implicits.html#context-bounds-and-view-bounds).
408408

409409
The most general form of a first-order type parameter is
410410
`$@a_1 \ldots @a_n$ $\pm$ $t$ >: $L$ <: $U$`.
@@ -686,7 +686,7 @@ The by-name modifier is disallowed for parameters of classes that
686686
carry a `val` or `var` prefix, including parameters of case
687687
classes for which a `val` prefix is implicitly generated. The
688688
by-name modifier is also disallowed for
689-
[implicit parameters](07-implicit-parameters-and-views.html#implicit-parameters).
689+
[implicit parameters](07-implicits.html#implicit-parameters).
690690

691691
###### Example
692692
The declaration

spec/12-the-scala-standard-library.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Byte - Short
141141
whereas `Double` is the highest-ranked. Ranking does _not_
142142
imply a [conformance relationship](03-types.html#conformance); for
143143
instance `Int` is not a subtype of `Long`. However, object
144-
[`Predef`](#the-predef-object) defines [views](07-implicit-parameters-and-views.html#views)
144+
[`Predef`](#the-predef-object) defines [views](07-implicits.html#views)
145145
from every numeric value type to all higher-ranked numeric value types.
146146
Therefore, lower-ranked types are implicitly converted to higher-ranked types
147147
when required by the [context](06-expressions.html#implicit-conversions).
@@ -467,7 +467,7 @@ val ys: Array[Object] = xs.asInstanceOf[Array[Object]] // OK
467467

468468
The instantiation of an array with a polymorphic element type $T$ requires
469469
information about type $T$ at runtime.
470-
This information is synthesized by adding a [context bound](07-implicit-parameters-and-views.html#context-bounds-and-view-bounds)
470+
This information is synthesized by adding a [context bound](07-implicits.html#context-bounds-and-view-bounds)
471471
of `scala.reflect.ClassTag` to type $T$.
472472
An example is the
473473
following implementation of method `mkArray`, which creates

0 commit comments

Comments
 (0)