File tree 1 file changed +4
-1
lines changed
library/src/scala/internal
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package scala.internal
3
3
import scala .annotation .{Annotation , compileTimeOnly }
4
4
import scala .quoted ._
5
5
6
+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted`" )
6
7
object Quoted {
7
8
8
9
/** A term quote is desugared by the compiler into a call to this method */
@@ -26,9 +27,11 @@ object Quoted {
26
27
class patternBindHole extends Annotation
27
28
28
29
/** A splice of a name in a quoted pattern is that marks the definition of a type splice */
30
+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.patternType`" )
29
31
class patternType extends Annotation
30
32
31
33
/** A type pattern that must be aproximated from above */
34
+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.fromAbove`" )
32
35
class fromAbove extends Annotation
33
36
34
37
/** Artifact of pickled type splices
@@ -39,7 +42,7 @@ object Quoted {
39
42
*
40
43
* See ReifyQuotes.scala and PickledQuotes.scala
41
44
*/
42
- @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.patternBindHole `" )
45
+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.quoteTypeTag `" )
43
46
class quoteTypeTag extends Annotation
44
47
45
48
}
You can’t perform that action at this time.
0 commit comments