Skip to content

Commit 7daff74

Browse files
authored
Merge pull request #417 from SethTisue/make-nowarn-support-2.12.13
2 parents fbc5ae4 + 86475b4 commit 7daff74

File tree

1 file changed

+4
-4
lines changed
  • compat/src/main/scala-2.11_2.12/scala/annotation

1 file changed

+4
-4
lines changed

compat/src/main/scala-2.11_2.12/scala/annotation/nowarn.scala

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212

1313
package scala.annotation
1414

15-
/** An annotation for local warning suppression added in 2.13.2. Note that this annotation has
16-
* no functionality when used in Scala 2.11 or 2.12, but allows cross-compiling code that uses
17-
* `@nowarn`.
15+
/** An annotation for local warning suppression added in 2.13.2 and 2.12.13. Note that this
16+
* annotation has no functionality when used in Scala 2.11, but allows cross-compiling code
17+
* that uses `@nowarn`.
1818
*
1919
* For documentation on how to use the annotation in 2.13 see
2020
* https://www.scala-lang.org/api/current/scala/annotation/nowarn.html
2121
*/
22-
class nowarn(value: String = "") extends StaticAnnotation
22+
class nowarn(value: String = "") extends ClassfileAnnotation

0 commit comments

Comments
 (0)