Skip to content

Commit 2817984

Browse files
committed
Update path in error message
1 parent 24ae305 commit 2817984

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

library/src-bootstrapped/scala/internal/quoted/Patterns.scala

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ import scala.annotation.{Annotation, compileTimeOnly}
55
object Patterns {
66

77
/** 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`")
99
def patternHole[T]: T = ???
1010

11-
@compileTimeOnly("Illegal reference to `scala.internal.quoted.CompileTime.patternHigherOrderHole`")
11+
@compileTimeOnly("Illegal reference to `scala.internal.quoted.Patterns.patternHigherOrderHole`")
1212
/** A higher order splice in a quoted pattern is desugared by the compiler into a call to this method */
1313
def patternHigherOrderHole[U](pat: Any, args: Any*): U = ???
1414

15-
@compileTimeOnly("Illegal reference to `scala.internal.quoted.CompileTime.higherOrderHole`")
15+
@compileTimeOnly("Illegal reference to `scala.internal.quoted.Patterns.higherOrderHole`")
1616
/** A higher order splice in a quoted pattern is desugared by the compiler into a call to this method */
1717
def higherOrderHole[U](args: Any*): U = ???
1818

1919
/** 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`")
2121
class patternType extends Annotation
2222

2323
/** 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`")
2525
class fromAbove extends Annotation
2626

2727
}

0 commit comments

Comments
 (0)