Skip to content

Commit

Permalink
Merge pull request #417 from SethTisue/make-nowarn-support-2.12.13
Browse files Browse the repository at this point in the history
  • Loading branch information
SethTisue authored Jan 26, 2021
2 parents fbc5ae4 + 86475b4 commit 7daff74
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions compat/src/main/scala-2.11_2.12/scala/annotation/nowarn.scala
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

package scala.annotation

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

0 comments on commit 7daff74

Please sign in to comment.