[PR] go: Fix indentation in compiler [thrift]

2024-06-13 Thread via GitHub
fishy opened a new pull request, #2985: URL: https://github.com/apache/thrift/pull/2985 This fixes a small case I missed in 4930caca. Before: func NewFoo() *Foo { return { DefDef: 10, DefOpt: 11, } } After:

[jira] [Commented] (THRIFT-5791) Inconsistent behavior: Go does not use default values

2024-06-13 Thread Yuxuan Wang (Jira)
[ https://issues.apache.org/jira/browse/THRIFT-5791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17854810#comment-17854810 ] Yuxuan Wang commented on THRIFT-5791: - See the spec regarding default values: