Skip to content

Commit

Permalink
fix: Wrong method name in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Iltotore committed Aug 6, 2023
1 parent 7651ed6 commit efe355c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/io/github/iltotore/iron/macros/package.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit efe355c

Please sign in to comment.