Skip to content

Commit

Permalink
Remove a debug from a macro error
Browse files Browse the repository at this point in the history
  • Loading branch information
KacperFKorban committed Mar 24, 2024
1 parent d35fda7 commit 65341aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guinep/src/main/scala/macros.scala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private[guinep] object macros {
}

private def wrongParamsListError(f: Expr[Any]): Nothing =
report.errorAndAbort(s"Wrong params list, expected a function reference, got: ${f.show}, ${f.asTerm}", f.asTerm.pos)
report.errorAndAbort(s"Wrong params list, expected a function reference, got: ${f.show}", f.asTerm.pos)

private def unsupportedFunctionParamType(t: TypeRepr, pos: Option[Position] = None): Nothing = pos match {
case Some(p) => report.errorAndAbort(s"Unsupported function param type: ${t.show}", p)
Expand Down

0 comments on commit 65341aa

Please sign in to comment.