Skip to content

Commit 7d3aa24

Browse files
committed
Fix requirement macros due to API change
1 parent 18c8e40 commit 7d3aa24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scalactic/src/main/scala/org/scalactic/Requirements.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ object RequirementsMacro {
364364
}
365365

366366
val argStr: List[Expr[String]] = arguments.unseal.underlyingArgument match {
367-
case Typed(Repeated(args), _) => // only sequence literal
367+
case Typed(Repeated(args, _), _) => // only sequence literal
368368
args.map(arg => arg.seal[Any].show.toExpr)
369369
case _ =>
370370
throw QuoteError("requireNonNull can only be used with sequence literal, not `seq : _*`")

0 commit comments

Comments
 (0)