Skip to content

Commit 9b3a69c

Browse files
authored
Merge pull request scala#6944 from xuwei-k/SLS-link
update "Scala Language Specification" link
2 parents 5292baa + 1f7f9bb commit 9b3a69c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/library/scala/Array.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -539,7 +539,7 @@ object Array {
539539
*
540540
* @author Martin Odersky
541541
* @since 1.0
542-
* @see [[http://www.scala-lang.org/files/archive/spec/2.11/ Scala Language Specification]], for in-depth information on the transformations the Scala compiler makes on Arrays (Sections 6.6 and 6.15 respectively.)
542+
* @see [[http://www.scala-lang.org/files/archive/spec/2.13/ Scala Language Specification]], for in-depth information on the transformations the Scala compiler makes on Arrays (Sections 6.6 and 6.15 respectively.)
543543
* @see [[http://docs.scala-lang.org/sips/completed/scala-2-8-arrays.html "Scala 2.8 Arrays"]] the Scala Improvement Document detailing arrays since Scala 2.8.
544544
* @see [[http://docs.scala-lang.org/overviews/collections/arrays.html "The Scala 2.8 Collections' API"]] section on `Array` by Martin Odersky for more information.
545545
* @hideImplicitConversion scala.Predef.booleanArrayOps

src/reflect/scala/reflect/api/Constants.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ trait Constants {
9595
* broken down or evaluated, such as "true", "0", "classOf[List]". Such values become parts of the Scala abstract
9696
* syntax tree representing the program. The constants
9797
* correspond to section 6.24 "Constant Expressions" of the
98-
* [[http://www.scala-lang.org/files/archive/spec/2.11/ Scala Language Specification]].
98+
* [[http://www.scala-lang.org/files/archive/spec/2.13/ Scala Language Specification]].
9999
*
100100
* Such constants are used to represent literals in abstract syntax trees (the [[scala.reflect.api.Trees#Literal]] node)
101101
* and literal arguments for Java class file annotations (the [[scala.reflect.api.Annotations#LiteralArgument]] class).

0 commit comments

Comments
 (0)