Skip to content

Commit 55ccbc9

Browse files
committed
Add missing compileTimeOnly
1 parent 5dc232a commit 55ccbc9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

library/src/scala/internal/Quoted.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ object Quoted {
2626
class patternBindHole extends Annotation
2727

2828
/** A splice of a name in a quoted pattern is that marks the definition of a type splice */
29+
@compileTimeOnly("Illegal reference to `scala.internal.Quoted.patternType`")
2930
class patternType extends Annotation
3031

3132
/** A type pattern that must be aproximated from above */
33+
@compileTimeOnly("Illegal reference to `scala.internal.Quoted.fromAbove`")
3234
class fromAbove extends Annotation
3335

3436
/** Artifact of pickled type splices
@@ -39,7 +41,7 @@ object Quoted {
3941
*
4042
* See ReifyQuotes.scala and PickledQuotes.scala
4143
*/
42-
@compileTimeOnly("Illegal reference to `scala.internal.Quoted.patternBindHole`")
44+
@compileTimeOnly("Illegal reference to `scala.internal.Quoted.quoteTypeTag`")
4345
class quoteTypeTag extends Annotation
4446

4547
}

0 commit comments

Comments
 (0)