diff --git a/spec/Candid.md b/spec/Candid.md index 96e698444..75c3c6464 100644 --- a/spec/Candid.md +++ b/spec/Candid.md @@ -968,9 +968,18 @@ Coercing a non-null, non-optional and non-reserved value at an option type treat ≠ (null : reserved) ≠ opt _ not (null <: ) -opt ~> : opt + ~> : ------------------------- - ~> : opt + ~> opt : opt +``` +Again, failure to coerce the value turns into `null`: +``` + ≠ null + ≠ (null : reserved) + ≠ opt _ +null <: ∨ not ( ~> _ : ) +---------------------------------- + ~> null : opt ```