scala / 3.2 / scala / annotation / meta / languagefeature.html

Class languageFeature.languageFeature

final class languageFeature(feature: String, enableRequired: Boolean) extends StaticAnnotation

An annotation giving particulars for a language feature in object scala.language.

Supertypes

© 2002-2022 EPFL, with contributions from Lightbend.
Licensed under the Apache License, Version 2.0.
https://scala-lang.org/api/3.2.0/scala/annotation/meta/languageFeature.html