Skip to content

Commit

Permalink
Make implicitNotFound and implicitAmbiguous a ConstantAnnotation
Browse files Browse the repository at this point in the history
  • Loading branch information
BalmungSan authored and lrytz committed Dec 14, 2020
1 parent 9f707c8 commit 3f5fd92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/library/scala/annotation/implicitAmbiguous.scala
Expand Up @@ -39,4 +39,4 @@ package scala.annotation
* }}}
*/
@meta.getter
final class implicitAmbiguous(msg: String) extends scala.annotation.StaticAnnotation
final class implicitAmbiguous(msg: String) extends scala.annotation.ConstantAnnotation
3 changes: 1 addition & 2 deletions src/library/scala/annotation/implicitNotFound.scala
Expand Up @@ -53,7 +53,6 @@ package scala.annotation
* ^
* </pre>
*
* @constructor Creates a new instance of the annotation with the provided message.
* @param msg The custom error message, must be a literal value.
*/
final class implicitNotFound(msg: String) extends scala.annotation.StaticAnnotation {}
final class implicitNotFound(msg: String) extends scala.annotation.ConstantAnnotation

0 comments on commit 3f5fd92

Please sign in to comment.