We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
scala/language.scala
1 parent e1efffd commit af897caCopy full SHA for af897ca
scala2-library-cc/src/scala/language.scala
@@ -188,6 +188,12 @@ object language {
188
189
import languageFeature.experimental._
190
191
+ /** Experimental support for capture checking; implies support for pureFunctions
192
+ *
193
+ * @see [[https://dotty.epfl.ch/docs/reference/experimental/cc]]
194
+ */
195
+ implicit lazy val captureChecking: existentials = languageFeature.existentials
196
+
197
/** Only where this feature is enabled, are macro definitions allowed.
198
* If `macros` is not enabled, macro definitions are rejected by the compiler.
199
*
0 commit comments