Skip to content

Commit 5362f32

Browse files
cheesengmbovel
authored andcommitted
Enable sc:compile for stdlib package scala.collection.compat (scala#25861)
Added `scala sc:compile` to classes under scala.compat.
1 parent 3e48d89 commit 5362f32

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

library/src/scala/compat/Platform.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ object Platform {
7171
*
7272
* The caller must cast the returned value to the correct type.
7373
*
74-
* @example ```
74+
* @example ```scala sc:compile
7575
* val a = scala.compat.Platform.createArray(classOf[Int], 4).asInstanceOf[Array[Int]] // returns Array[Int](0, 0, 0, 0)
7676
* ```
7777
*
@@ -105,7 +105,7 @@ object Platform {
105105
* @throws java.lang.LinkageError if the linkage fails
106106
* @throws java.lang.ExceptionInInitializerError if the initialization provoked by this method fails
107107
* @throws java.lang.ClassNotFoundException if the class cannot be located
108-
* @example ```
108+
* @example ```scala sc:compile
109109
* val a = scala.compat.Platform.getClassForName("java.lang.Integer") // returns the Class[_] for java.lang.Integer
110110
* ```
111111
*/

0 commit comments

Comments
 (0)