Skip to content
Commit ef8996f1 authored by Silvan Mosberger's avatar Silvan Mosberger Committed by Profpatsch
Browse files

lib/types: Fix coercedTo check

Without this change

  (coercedTo str toInt int).check "foo"

would evaluate to true, even though

  (coercedTo str toInt int).merge {} [{ value = "foo"; }]

will throw an error because "foo" can't be coerced to an int.
parent 85b5fc7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment