From efe355c3505d0c440c53e6ad1310dfca4a6cb6a5 Mon Sep 17 00:00:00 2001 From: Iltotore Date: Sun, 6 Aug 2023 16:42:33 +0200 Subject: [PATCH] fix: Wrong method name in error message --- main/src/io/github/iltotore/iron/macros/package.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/io/github/iltotore/iron/macros/package.scala b/main/src/io/github/iltotore/iron/macros/package.scala index 12ea4c3b..ab9d6b9a 100644 --- a/main/src/io/github/iltotore/iron/macros/package.scala +++ b/main/src/io/github/iltotore/iron/macros/package.scala @@ -117,7 +117,7 @@ private def assertConditionImpl[A: Type](input: Expr[A], cond: Expr[Boolean], me s"""Cannot refine value at compile-time because the predicate cannot be evaluated. |This is likely because the condition or the input value isn't fully inlined. | - |To test a constraint at runtime, use the `refined` extension method. + |To test a constraint at runtime, use one of the `refine...` extension methods. | |${CYAN}Inlined input$RESET: ${input.show} |${CYAN}Inlined condition$RESET: ${cond.show}