File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
compiler/src/dotty/tools/dotc/config
library/src/scala/runtime/stdLibPatches Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ object Feature:
3737 val modularity = experimental(" modularity" )
3838 val quotedPatternsWithPolymorphicFunctions = experimental(" quotedPatternsWithPolymorphicFunctions" )
3939 val packageObjectValues = experimental(" packageObjectValues" )
40+ val matchWithSubCases = experimental(" matchWithSubCases" )
4041
4142 def experimentalAutoEnableFeatures (using Context ): List [TermName ] =
4243 defn.languageExperimentalFeatures
Original file line number Diff line number Diff line change @@ -154,6 +154,11 @@ object language:
154154 */
155155 @ compileTimeOnly(" `packageObjectValues` can only be used at compile time in import statements" )
156156 object packageObjectValues
157+
158+ /** Experimental support for match expressions with sub-cases.
159+ */
160+ @ compileTimeOnly(" `matchWithSubCases` can only be used at compile time in import statements" )
161+ object matchWithSubCases
157162 end experimental
158163
159164 /** The deprecated object contains features that are no longer officially suypported in Scala.
You can’t perform that action at this time.
0 commit comments