Sylwester Lachiewicz created THRIFT-6345:
--------------------------------------------

             Summary: Lua generator: error messages copied from the PHP 
generator
                 Key: THRIFT-6345
                 URL: https://issues.apache.org/jira/browse/THRIFT-6345
             Project: Thrift
          Issue Type: Bug
          Components: Lua - Compiler
    Affects Versions: 0.25.0
            Reporter: Sylwester Lachiewicz


Three compiler-error texts in 
[t_lua_generator.cc|https://github.com/apache/thrift/blob/master/compiler/cpp/src/thrift/generate/t_lua_generator.cc#L871]
 say {{no PHP name for base type}} (lines 871 and 1029) and {{cannot serialize 
void field}} inside {{generate_deserialize_field}} (line 844). They are only 
reached for malformed input, so the fix is to the messages alone: {{no Lua name 
for base type}} and {{cannot deserialize void field}}.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to