Skip to content

fix(tlua): return AsTablePushError instead of PushIterError

Georgy Moshkin requested to merge feature/breaking/too-many-values into master
  • A TooManyValues now contains info about how many values were attempted to be pushed. This error is returned when trying to push a lua table entry consisting of more than 2 values (key & value).
  • When pushing a lua table using tlua::AsTable wrapper the type of the error is now AsTablePushError instead of PushIterError. This fixes some cases where the correct code would not compile.
Edited by Егор Ивков

Merge request reports