Skip to content
Snippets Groups Projects
Commit 7a996f22 authored by Chris Sosnin's avatar Chris Sosnin Committed by Kirill Yukhin
Browse files

box: frommap() bug fix

- If an optional argument is provided for
  space_object:frommap() (which is {table = true|false}),
  type match for first arguments is omitted, which is
  incorrect. We should return the result only after making
  sure it is possible to build a tuple.

- If there is a type mismatch, however, frommap() does not
  return nil, err as it is mentioned in the description, so we
  change it to be this way.

Closes #4262

(cherry picked from commit ba2deae5acca0bf65e65433c67098a10946e7fd3)
parent ca40aa3c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment