languageFeature
scala.annotation.meta.languageFeature
final class languageFeature(feature: String, enableRequired: Boolean) extends StaticAnnotation
An annotation giving particulars for a language feature in object scala.language.
Value parameters
- enableRequired
-
whether an explicit import of the feature is required to suppress the compiler warning about its usage
- feature
-
the name of the language feature being described
Attributes
- Source
- languageFeature.scala
- Graph
-
- Supertypes
In this article