File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
library/src/scala/internal Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package scala.internal
33import scala .annotation .{Annotation , compileTimeOnly }
44import scala .quoted ._
55
6+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted`" )
67object Quoted {
78
89 /** A term quote is desugared by the compiler into a call to this method */
@@ -26,9 +27,11 @@ object Quoted {
2627 class patternBindHole extends Annotation
2728
2829 /** 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`" )
2931 class patternType extends Annotation
3032
3133 /** A type pattern that must be aproximated from above */
34+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.fromAbove`" )
3235 class fromAbove extends Annotation
3336
3437 /** Artifact of pickled type splices
@@ -39,7 +42,7 @@ object Quoted {
3942 *
4043 * See ReifyQuotes.scala and PickledQuotes.scala
4144 */
42- @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.patternBindHole `" )
45+ @ compileTimeOnly(" Illegal reference to `scala.internal.Quoted.quoteTypeTag `" )
4346 class quoteTypeTag extends Annotation
4447
4548}
You can’t perform that action at this time.
0 commit comments