File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
tests/run-tasty-inspector Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ object Patterns {
32
32
* Calling this method in source has undefined behavior at compile-time
33
33
*/
34
34
@ experimental
35
- @ compileTimeOnly(" Illegal reference to `scala.quoted.runtime.Patterns.higherOrderHole `" )
35
+ @ compileTimeOnly(" Illegal reference to `scala.quoted.runtime.Patterns.higherOrderHoleWithTypes `" )
36
36
def higherOrderHoleWithTypes [U , T ](args : Any * ): U = ???
37
37
38
38
/** A splice of a name in a quoted pattern is that marks the definition of a type splice.
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ object language:
101
101
102
102
/** Experimental support for quote pattern matching with polymorphic functions
103
103
*
104
- * @see TODO
104
+ * @see TODO-18271
105
105
*/
106
106
@ compileTimeOnly(" `quotedPatternsWithPolymorphicFunctions` can only be used at compile time in import statements" )
107
107
object quotedPatternsWithPolymorphicFunctions
Original file line number Diff line number Diff line change @@ -99,7 +99,11 @@ val experimentalDefinitionInLibrary = Set(
99
99
" scala.Tuple$.Helpers$" ,
100
100
" scala.Tuple$.Helpers$.ReverseImpl" ,
101
101
" scala.Tuple$.Reverse" ,
102
- " scala.runtime.Tuples$.reverse"
102
+ " scala.runtime.Tuples$.reverse" ,
103
+
104
+ // New feature: functions with erased parameters.
105
+ // Need quotedPatternsWithPolymorphicFunctions enabled.
106
+ " scala.quoted.runtime.Patterns$.higherOrderHoleWithTypes"
103
107
)
104
108
105
109
You can’t perform that action at this time.
0 commit comments