[ 
https://issues.apache.org/jira/browse/THRIFT-5626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17602848#comment-17602848
 ] 

Jens Geyer commented on THRIFT-5626:
------------------------------------

NB. For the sake of simplicity the patch also does a bit of cleanup and finally 
removes some long-term unsupported stuff like "php_namespace", "slist" or the 
like from the grammar. You should now get a simple syntax error instead of an 
"unsupported" error instead. 

> Parser should not confuse data types and field names
> ----------------------------------------------------
>
>                 Key: THRIFT-5626
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5626
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (General)
>            Reporter: Jens Geyer
>            Assignee: Jens Geyer
>            Priority: Major
>             Fix For: 0.18.0
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> {code}
> struct foo {
>   1: optional string string
>   40: optional string uuid
> }
> {code}
> Should compile.



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

Reply via email to