Function
invalidOptionalEntryInit
(field any, value ref.Val)
Source from the content-addressed store, hash-verified
| 1934 | } |
| 1935 | |
| 1936 | func invalidOptionalEntryInit(field any, value ref.Val) ref.Val { |
| 1937 | return types.NewErr("cannot initialize optional entry '%v' from non-optional value %v", field, value) |
| 1938 | } |
| 1939 | |
| 1940 | func invalidOptionalElementInit(value ref.Val) ref.Val { |
| 1941 | return types.NewErr("cannot initialize optional list element from non-optional value %v", value) |
Tested by
no test coverage detected