[
https://issues.apache.org/jira/browse/THRIFT-6345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jens Geyer resolved THRIFT-6345.
--------------------------------
Fix Version/s: 0.26.0
Assignee: Sylwester Lachiewicz
Resolution: Fixed
> 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
> Assignee: Sylwester Lachiewicz
> Priority: Trivial
> Fix For: 0.26.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)