Skip to content

Commit

Permalink
Update vlib/x/json2/decoder2/decode.v
Browse files Browse the repository at this point in the history
Co-authored-by: Delyan Angelov <[email protected]>
  • Loading branch information
enghitalo and spytheman authored Dec 6, 2024
1 parent d44f1ba commit ae0d5dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vlib/x/json2/decoder2/decode.v
Original file line number Diff line number Diff line change
Expand Up @@ -770,7 +770,7 @@ fn (mut decoder Decoder) decode_value[T](mut val T) ! {

if current_field_info.value.is_skip {
if current_field_info.value.is_required == false {
panic('This should not happen. `skip` field should not be processed here without be a `required` field')
panic('This should not happen. `skip` field should not be processed here without a `required` field')
}
current_field_info.value.decoded_with_value_info_node = decoder.current_node
break
Expand Down

0 comments on commit ae0d5dd

Please sign in to comment.