@@ -5,23 +5,23 @@ import scala.annotation.{Annotation, compileTimeOnly}
5
5
object Patterns {
6
6
7
7
/** A splice in a quoted pattern is desugared by the compiler into a call to this method */
8
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime .patternHole`" )
8
+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.Patterns .patternHole`" )
9
9
def patternHole [T ]: T = ???
10
10
11
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime .patternHigherOrderHole`" )
11
+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.Patterns .patternHigherOrderHole`" )
12
12
/** A higher order splice in a quoted pattern is desugared by the compiler into a call to this method */
13
13
def patternHigherOrderHole [U ](pat : Any , args : Any * ): U = ???
14
14
15
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime .higherOrderHole`" )
15
+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.Patterns .higherOrderHole`" )
16
16
/** A higher order splice in a quoted pattern is desugared by the compiler into a call to this method */
17
17
def higherOrderHole [U ](args : Any * ): U = ???
18
18
19
19
/** A splice of a name in a quoted pattern is that marks the definition of a type splice */
20
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime .patternType`" )
20
+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.Patterns .patternType`" )
21
21
class patternType extends Annotation
22
22
23
23
/** A type pattern that must be aproximated from above */
24
- @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.CompileTime .fromAbove`" )
24
+ @ compileTimeOnly(" Illegal reference to `scala.internal.quoted.Patterns .fromAbove`" )
25
25
class fromAbove extends Annotation
26
26
27
27
}
0 commit comments