• Derek Bailey's avatar
    Fix for Boolean types (#5379) (#5466) · a4e3ad80
    Derek Bailey authored
    The packing/unpacking steps for Boolean values was failing because the
    code expected numerical values. I overrode the functions for the Boolean
    metatable to account for this. I also had to exclude the Boolean
    metatable from the GenerateTypes helper function, as that was overriding
    the Pack/Unpack functions defined in its metatable.
    
    Added Linux bash script to run Lua tests from the command line.
    
    Bug: google/flatbuffers#5379
    
    Tested: Added Lua tests that were failing and are now fixed with the
    code changes.
    a4e3ad80