File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ function definitions. In this section we consider only type parameter
404
404
definitions with lower bounds ` >: $L$ ` and upper bounds
405
405
` <: $U$ ` whereas a discussion of context bounds
406
406
` : $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 ) .
408
408
409
409
The most general form of a first-order type parameter is
410
410
` $@a_1 \ldots @a_n$ $\pm$ $t$ >: $L$ <: $U$ ` .
@@ -686,7 +686,7 @@ The by-name modifier is disallowed for parameters of classes that
686
686
carry a ` val ` or ` var ` prefix, including parameters of case
687
687
classes for which a ` val ` prefix is implicitly generated. The
688
688
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 ) .
690
690
691
691
###### Example
692
692
The declaration
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ Byte - Short
141
141
whereas ` Double ` is the highest-ranked. Ranking does _ not_
142
142
imply a [ conformance relationship] ( 03-types.html#conformance ) ; for
143
143
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 )
145
145
from every numeric value type to all higher-ranked numeric value types.
146
146
Therefore, lower-ranked types are implicitly converted to higher-ranked types
147
147
when required by the [ context] ( 06-expressions.html#implicit-conversions ) .
@@ -467,7 +467,7 @@ val ys: Array[Object] = xs.asInstanceOf[Array[Object]] // OK
467
467
468
468
The instantiation of an array with a polymorphic element type $T$ requires
469
469
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 )
471
471
of ` scala.reflect.ClassTag ` to type $T$.
472
472
An example is the
473
473
following implementation of method ` mkArray ` , which creates
You can’t perform that action at this time.
0 commit comments