mirror of https://github.com/sbt/sbt.git
Use report.errorAndAbort in macro
This commit is contained in:
parent
e18ddb1666
commit
cabf08e5f0
|
|
@ -76,7 +76,9 @@ trait Cont:
|
|||
given qctx.type = qctx
|
||||
Expr
|
||||
.summon[Applicative[F]]
|
||||
.getOrElse(sys.error(s"Applicative[F] not found for ${TypeRepr.of[F].typeSymbol}"))
|
||||
.getOrElse(
|
||||
report.errorAndAbort(s"Applicative[F] not found for ${TypeRepr.of[F].typeSymbol}")
|
||||
)
|
||||
|
||||
/**
|
||||
* Implementation of a macro that provides a direct syntax for applicative functors and monads.
|
||||
|
|
|
|||
Loading…
Reference in New Issue