Function
invalidOptionalEntryInit
(field any, value ref.Val)
Source from the content-addressed store, hash-verified
| 1464 | } |
| 1465 | |
| 1466 | func invalidOptionalEntryInit(field any, value ref.Val) ref.Val { |
| 1467 | return types.NewErr("cannot initialize optional entry '%v' from non-optional value %v", field, value) |
| 1468 | } |
| 1469 | |
| 1470 | func invalidOptionalElementInit(value ref.Val) ref.Val { |
| 1471 | return types.NewErr("cannot initialize optional list element from non-optional value %v", value) |
Tested by
no test coverage detected