Skip to content

Commit f2e7438

Browse files
committed
Fixed dotty compile error in org.scalatest.matchers.must.MatchersCompileMacro.
1 parent 6cd7031 commit f2e7438

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scalatest.dotty/src/main/scala/org/scalatest/matchers/must/MatchersCompileMacro.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ import scala.quoted._
2525
object MatchersCompileMacro {
2626

2727
// used by mustNot compile syntax, delegate to assertNotCompileImpl to generate code
28-
def mustNotCompileImpl(self: Expr[Matchers#AnyMustWrapper[_]], compileWord: Expr[CompileWord])(pos: Expr[source.Position])(implicit qctx: QuoteContext): Expr[Assertion] =
28+
def mustNotCompileImpl(self: Expr[org.scalatest.matchers.must.Matchers#AnyMustWrapper[_]], compileWord: Expr[CompileWord])(pos: Expr[source.Position])(implicit qctx: QuoteContext): Expr[Assertion] =
2929
org.scalatest.matchers.MatchersCompileMacro.assertNotCompileImpl(self, compileWord, pos)("must")
3030

3131
// check that a code snippet does not compile
32-
def assertNotTypeCheckImpl(self: Expr[Matchers#AnyMustWrapper[_]], typeCheckWord: Expr[TypeCheckWord], pos: Expr[source.Position])(shouldOrMust: String)(implicit qctx: QuoteContext): Expr[Assertion] = {
32+
def assertNotTypeCheckImpl(self: Expr[org.scalatest.matchers.must.Matchers#AnyMustWrapper[_]], typeCheckWord: Expr[TypeCheckWord], pos: Expr[source.Position])(shouldOrMust: String)(implicit qctx: QuoteContext): Expr[Assertion] = {
3333
import qctx.tasty._
3434

3535
// parse and type check a code snippet, generate code to throw TestFailedException if both parse and type check succeeded

0 commit comments

Comments
 (0)